test: speed up test suite

This commit is contained in:
chengyongru
2026-06-25 16:10:28 +08:00
committed by Xubin Ren
parent 123384975e
commit 4378944459
6 changed files with 20 additions and 6 deletions
+2
View File
@@ -199,6 +199,8 @@ class EmailChannel(BaseChannel):
except Exception:
self.logger.exception("Polling error")
if not self._running:
break
await asyncio.sleep(poll_seconds)
async def stop(self) -> None: