Skip to content

Commit e64098d

Browse files
committed
Fix chunk time interval to 1 h for netflow flows table
1 parent 81f5c7d commit e64098d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,4 @@ def migration_step_6():
188188
ipvX_src_addr INET NOT NULL
189189
);
190190
""")
191-
c.execute(f"SELECT create_hypertable('{DB_PREFIX}flows2', 'ts');")
191+
c.execute(f"SELECT create_hypertable('{DB_PREFIX}flows2', 'ts', chunk_time_interval => INTERVAL '1 hour');")

0 commit comments

Comments
 (0)