Skip to content

Commit

Permalink
chore(data-warehouse): Increase monthly row limit to 5m (#19782)
Browse files Browse the repository at this point in the history
increase limit to 5m
  • Loading branch information
EDsCODE authored Jan 16, 2024
1 parent f9d1ff0 commit 61b42fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion posthog/tasks/warehouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

logger = structlog.get_logger(__name__)

MONTHLY_LIMIT = 1_000_000
MONTHLY_LIMIT = 5_000_000


def check_synced_row_limits() -> None:
Expand All @@ -22,6 +22,8 @@ def check_synced_row_limits() -> None:
@app.task(ignore_result=True)
def check_synced_row_limits_of_team(team_id: int) -> None:
logger.info("Checking synced row limits of team", team_id=team_id)

# TODO: Can change this to be billing period based once billing is integrated
start_of_month = datetime.datetime.now().replace(day=1, hour=0, minute=0, second=0, microsecond=0)
rows_synced_list = [
x
Expand Down

0 comments on commit 61b42fa

Please sign in to comment.