Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Sep 13, 2024
1 parent f6bf397 commit 541d32a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions horde/apis/v2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def post(self):
# as they're typically countermeasures to raids
if skipped_reason != "secret":
self.skipped[skipped_reason] = self.skipped.get(skipped_reason, 0) + 1
# logger.warning(datetime.utcnow())
logger.debug(self.skipped)

continue
# There is a chance that by the time we finished all the checks, another worker picked up the WP.
Expand All @@ -477,7 +477,7 @@ def post(self):
# We report maintenance exception only if we couldn't find any jobs
if self.worker.maintenance:
raise e.WorkerMaintenance(self.worker.maintenance_msg)
# logger.warning(datetime.utcnow())
logger.debug(self.skipped)
return {"id": None, "ids": [], "skipped": self.skipped}, 200

def get_sorted_wp(self, priority_user_ids=None):
Expand Down

0 comments on commit 541d32a

Please sign in to comment.