added stream parser throttle to config

This commit is contained in:
Annika Hannig 2023-05-26 11:52:25 +02:00
parent 65f5edc83b
commit 775b423152
No known key found for this signature in database
GPG Key ID: 62E226E47DDCE58D

View File

@ -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