Skip to content

Commit

Permalink
Merge pull request #43 from Bot-detector/bug-did-not-reset-today-when…
Browse files Browse the repository at this point in the history
…-today-!=-last_day

bug fix reset today = last_day
  • Loading branch information
extreme4all authored Nov 16, 2023
2 parents b708e23 + c7fdd34 commit 5e217fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jobs/kafka/players/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ async def get_data(receive_queue: Queue):
if today != last_day:
logger.info("New day!, resetting player_id to 0")
params["player_id"] = 0
today = last_day

if len_players < APPCONFIG.BATCH_SIZE:
sleep_time = 300
Expand Down

0 comments on commit 5e217fb

Please sign in to comment.