Skip to content

Commit

Permalink
Fix migration to backfill user.pubid column part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
mtomilov committed Jan 16, 2025
1 parent ec1142d commit 97051cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h/migrations/versions/f32200e2e496_backfill_user_pubid.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def backfill_users(

count = 0
while users := user_query.all():
if count >= USER_MAX_COUNT:
if count >= user_max_count:
logger.info("Reached maximum user count of %d", user_max_count)
break
batch_count = len(users)
Expand Down

0 comments on commit 97051cc

Please sign in to comment.