Limit pool summary aggregate refresh window

This commit is contained in:
Ben
2026-07-29 00:41:11 -04:00
parent 4150d1e425
commit 943dd60eef
3 changed files with 45 additions and 1 deletions
@@ -20,7 +20,7 @@ export class PoolSummaryContinuousAggregate1781400000000 implements MigrationInt
await queryRunner.query(`
SELECT add_continuous_aggregate_policy(
'accepted_share_pool_10m',
start_offset => INTERVAL '2 days',
start_offset => INTERVAL '25 hours',
end_offset => INTERVAL '1 minute',
schedule_interval => INTERVAL '1 minute',
if_not_exists => TRUE