Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed May 30, 2024
1 parent 3dc1457 commit 4fa7eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde/classes/base/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def toggle_paused(self, is_paused_active):

# This should be extended by each worker type
def check_in(self, **kwargs):
# To avoid excessive commits,
# To avoid excessive commits,
# we only record new changes on the worker every 30 seconds
if (datetime.utcnow() - self.last_check_in).total_seconds() < 30:
return
Expand Down

0 comments on commit 4fa7eb1

Please sign in to comment.