added stream parser throttle to config
This commit is contained in:
parent
65f5edc83b
commit
775b423152
@ -33,10 +33,17 @@ neighbors_store_refresh_parallelism = 10000
|
||||
routes_store_refresh_interval = 5
|
||||
neighbors_store_refresh_interval = 5
|
||||
|
||||
[postgres]
|
||||
url = "postgres://postgres:postgres@localhost:5432/alice"
|
||||
min_connections = 2
|
||||
max_connections = 128
|
||||
# Add a delay to the stream parser in order to reduce
|
||||
# CPU load while ingesting routes. Route refreshs will take
|
||||
# a bit longer. The value is in nanoseconds.
|
||||
# A value of 30000 will keep the cpu load at roughly 60% and
|
||||
# parsing a master4 table will take about 2.5 instead of 1.25 minutes.
|
||||
stream_parser_throttle = 30000
|
||||
|
||||
# [postgres]
|
||||
# url = "postgres://postgres:postgres@localhost:5432/alice"
|
||||
# min_connections = 2
|
||||
# max_connections = 128
|
||||
|
||||
[housekeeping]
|
||||
# Interval for the housekeeping routine in minutes
|
||||
|
Loading…
x
Reference in New Issue
Block a user