mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 18:41:54 +08:00
shielded some tasks
This commit is contained in:
@@ -116,7 +116,7 @@ class Snapshoter: # pylint: disable=too-many-instance-attributes
|
||||
logger.exception("Unhandled exception while taking snapshot")
|
||||
finally:
|
||||
self.__snapshoting = False
|
||||
await notifier.notify()
|
||||
await asyncio.shield(notifier.notify())
|
||||
|
||||
async def __wakeup(self) -> None:
|
||||
logger = get_logger(0)
|
||||
|
||||
Reference in New Issue
Block a user