mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
put_nowait
This commit is contained in:
@@ -124,7 +124,7 @@ class BaseDeviceProcess(multiprocessing.Process): # pylint: disable=too-many-in
|
||||
self.join()
|
||||
|
||||
def _queue_event(self, event: BaseEvent) -> None:
|
||||
self.__events_queue.put(event)
|
||||
self.__events_queue.put_nowait(event)
|
||||
|
||||
def _ensure_write(self, report: bytes, reopen: bool=False, close: bool=False) -> bool:
|
||||
if reopen:
|
||||
|
||||
Reference in New Issue
Block a user