Skip to content

Commit

Permalink
remove unapplicable feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ehigham committed Jul 31, 2024
1 parent 8b40080 commit 339c9fe
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions batch/batch/driver/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1690,10 +1690,7 @@ async def compact(tx: Transaction, target: dict):
await compact(target)


async def compact_agg_billing_project_users_by_date_table(app, db: Database):
if not app['feature_flags']['compact_billing_tables']:
return

async def compact_agg_billing_project_users_by_date_table(db: Database):
@transaction(db)
async def compact(tx: Transaction, target: dict):
original_usage = await tx.execute_and_fetchone(
Expand Down Expand Up @@ -1881,7 +1878,7 @@ async def close_and_wait():
task_manager.ensure_future(periodically_call(60, compact_agg_billing_project_users_by_date_table, app, db))
task_manager.ensure_future(periodically_call(60, delete_committed_job_groups_inst_coll_staging_records, db))
task_manager.ensure_future(periodically_call(60, delete_prev_cancelled_job_group_cancellable_resources_records, db))
task_manager.ensure_future(periodically_call(60, compact_job_group_cancellable_resources_records, app, db))
task_manager.ensure_future(periodically_call(60, compact_job_group_cancellable_resources_records, db))
task_manager.ensure_future(periodically_call(60, delete_dead_job_group_cancellable_resources_records, db))


Expand Down

0 comments on commit 339c9fe

Please sign in to comment.