Skip to content

Commit

Permalink
fix(data-warehouse): wrong operator (#23270)
Browse files Browse the repository at this point in the history
flip operator
  • Loading branch information
EDsCODE authored Jun 27, 2024
1 parent fdc1b3f commit 1f2c531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/tasks/warehouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def check_synced_row_limits_of_team(team_id: int) -> None:
]
total_rows_synced = sum(rows_synced_list)

if team_id in limited_teams_rows_synced or total_rows_synced < MONTHLY_LIMIT:
if team_id in limited_teams_rows_synced or total_rows_synced > MONTHLY_LIMIT:
running_jobs = ExternalDataJob.objects.filter(team_id=team_id, status=ExternalDataJob.Status.RUNNING)
for job in running_jobs:
try:
Expand Down

0 comments on commit 1f2c531

Please sign in to comment.