Skip to content

Commit

Permalink
make this more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed May 21, 2024
1 parent 0a4e415 commit 9477294
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pioreactor/background_jobs/stirring.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def poll(self, poll_for_seconds: float) -> Optional[structs.MeasuredRPM]:

if recent_rpm == 0 and self.state == self.READY: # and not is_testing_env():
self.logger.warning(
"Stirring RPM is 0 - attempting to restart it automatically. It may be a temporary stall, target RPM may be too low, power not applied to fan, or not reading sensor correctly."
"Stirring RPM is 0 - attempting to restart it automatically. It may be a temporary stall, target RPM may be too low, insufficient power applied to fan, or not reading sensor correctly."
)
self.blink_error_code(error_codes.STIRRING_FAILED)

Expand Down
2 changes: 1 addition & 1 deletion pioreactor/cluster_management/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def unassign_worker_from_experiment(hostname: str, experiment: str) -> None:

@click.command(name="update-active", short_help="change active of worker")
@click.argument("hostname")
@click.argument("active", type=int)
@click.argument("active", type=click.IntRange(0, 1))
def update_active(hostname: str, active: int) -> None:
try:
r = put_into_leader(
Expand Down

0 comments on commit 9477294

Please sign in to comment.