Skip to content

Commit

Permalink
make prune messages more frequent
Browse files Browse the repository at this point in the history
  • Loading branch information
aditiharini committed Jan 13, 2025
1 parent ca63989 commit fae35e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/hubble/src/storage/jobs/pruneMessagesJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { logger } from "../../utils/logger.js";
import { statsd } from "../../utils/statsd.js";
import { sleep } from "../../utils/crypto.js";

export const DEFAULT_PRUNE_MESSAGES_JOB_CRON = "0 */2 * * *"; // Every two hours
export const DEFAULT_PRUNE_MESSAGES_JOB_CRON = "*/5 * * * *"; // Every two hours

// How much time to allocate to pruning each fid.
// 1000 fids per second = 1 fid per ms. 500k fids will take under 10 minutes
Expand Down

0 comments on commit fae35e7

Please sign in to comment.