Skip to content

Commit

Permalink
changes marker on debug
Browse files Browse the repository at this point in the history
  • Loading branch information
David Erb committed May 10, 2023
1 parent a91892f commit f3d2710
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/chimpflow_lib/miners/aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def activate_process(self) -> None:
except Exception as exception:
logger.exception("exception in miner process", exc_info=exception)

logger.debug(f"[PIDAL] {callsign(self)} is returning from activate_process")
logger.debug(f"[DISSHU] {callsign(self)} is returning from activate_process")

# ----------------------------------------------------------------------------------------
def activate_thread(self, loop) -> None:
Expand Down
6 changes: 2 additions & 4 deletions src/chimpflow_lib/miners/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,11 @@ async def aexit(self) -> None:
if self.server is not None:
if self.context_specification.get("start_as") == "process":
logger.info(
"[NEWSHUT] in context exit, sending shutdown to client process"
"[DISSHU] in context exit, sending shutdown to client process"
)
# Put in request to shutdown the server.
await self.server.client_shutdown()
logger.info(
"[NEWSHUT] in context exit, sent shutdown to client process"
)
logger.info("[DISSHU] in context exit, sent shutdown to client process")

if self.context_specification.get("start_as") == "coro":
await self.server.direct_shutdown()
Expand Down
4 changes: 2 additions & 2 deletions src/chimpflow_lib/miners/direct_poll.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ async def deactivate(self) -> None:
self.__xchembku = None

if self.__xchembku_client_context is not None:
logger.debug(f"[ECHDON] {callsign(self)} exiting __xchembku_client_context")
logger.debug(f"[DISSHU] {callsign(self)} exiting __xchembku_client_context")
await self.__xchembku_client_context.aexit()
logger.debug(f"[ECHDON] {callsign(self)} exited __xchembku_client_context")
logger.debug(f"[DISSHU] {callsign(self)} exited __xchembku_client_context")
self.__xchembku_client_context = None

# ----------------------------------------------------------------------------------------
Expand Down

0 comments on commit f3d2710

Please sign in to comment.