Skip to content

Commit

Permalink
warn if in debug test env
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed Aug 26, 2024
1 parent bea3d3e commit 59ceec0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ async def process_data(receive_queue: Queue, error_queue: Queue):
player_id = message.player.id
MIN_PLAYER_ID, MAX_PLAYER_ID = 0, 300
if not (MIN_PLAYER_ID < player_id <= MAX_PLAYER_ID):
logger.warn(f"{settings.ENV}, skipping: {player_id}")
continue

# batch message
Expand Down

0 comments on commit 59ceec0

Please sign in to comment.