Skip to content

Commit

Permalink
Use write_to_log=False for status loop messages
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jul 27, 2023
1 parent 9d331af commit 1395057
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
9 changes: 5 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ln2fill = "lvmscp.ln2:ln2fill"
python = ">=3.8,<3.12"
click-default-group = "^1.2.2"
sdss-archon = "^0.11.0"
sdss-clu = "^2.1.3"

[tool.poetry.dev-dependencies]
ipython = ">=7.11.0"
Expand Down
1 change: 1 addition & 0 deletions python/lvmscp/actor/actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ async def emit_status(self, delay: float = 30.0):
actor=self,
commander_id=f".{self.name}",
internal=True,
write_to_log=False,
).parse()

await asyncio.sleep(delay)
Expand Down

0 comments on commit 1395057

Please sign in to comment.