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:
parent
c9da20e630
commit
2cfca78464
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user