tidy up
This commit is contained in:
1 parent
5d829ca575
commit
9e2f69bd5a
1 file changed
+2
-2
@@ -311,8 +311,8 @@ class FeishuChannel(BaseChannel):
|
||||
self._ws_client.start()
|
||||
except Exception as e:
|
||||
logger.warning("Feishu WebSocket error: {}", e)
|
||||
if self._running:
|
||||
import time; time.sleep(5)
|
||||
if self._running:
|
||||
import time; time.sleep(5)
|
||||
|
||||
self._ws_thread = threading.Thread(target=run_ws, daemon=True)
|
||||
self._ws_thread.start()
|
||||
|
||||
Reference in new issue
Block a user