We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4933617 commit 83b4d97Copy full SHA for 83b4d97
src/chimpflow_lib/miners/context.py
@@ -60,7 +60,7 @@ async def aenter(self) -> None:
60
await self.server.start_process()
61
62
# Not running as a service?
63
- elif self.context_specification.get("start_as") is None:
+ elif self.context_specification.get("start_as") == "direct":
64
# We need to activate the tick() task.
65
await self.server.activate()
66
@@ -86,5 +86,5 @@ async def aexit(self) -> None:
86
if self.context_specification.get("start_as") == "coro":
87
await self.server.direct_shutdown()
88
89
- if self.context_specification.get("start_as") is None:
+ if self.context_specification.get("start_as") == "direct":
90
await self.server.deactivate()
0 commit comments