Reduce peering processing interval from 2 minutes to 30 seconds

The 2 minute interval was causing a noticeable delay before peerings
appeared in the database. Reducing to 30 seconds provides a better
user experience while still maintaining efficient batch processing.
This commit is contained in:
Jeffrey Paul 2025-07-28 23:05:58 +02:00
parent c9da20e630
commit 2cfca78464
2 changed files with 267728 additions and 113310 deletions

View File

@ -21,7 +21,7 @@ const (
pathExpirationTime = 30 * time.Minute pathExpirationTime = 30 * time.Minute
// peeringProcessInterval is how often to process AS paths into peerings // peeringProcessInterval is how often to process AS paths into peerings
peeringProcessInterval = 2 * time.Minute peeringProcessInterval = 30 * time.Second
// pathPruneInterval is how often to prune old AS paths // pathPruneInterval is how often to prune old AS paths
pathPruneInterval = 5 * time.Minute pathPruneInterval = 5 * time.Minute

381036
log.txt

File diff suppressed because it is too large Load Diff