1
0
mirror of https://github.com/alice-lg/alice-lg.git synced 2024-05-11 05:55:03 +00:00

added optional AltPipe config

This commit is contained in:
Annika Hannig
2022-02-01 18:20:07 +01:00
parent 4e0803ab47
commit ee9e2d93ec
2 changed files with 7 additions and 0 deletions

View File

@ -180,6 +180,11 @@ api = http://rs1.example.com:29186/
type = multi_table
peer_table_prefix = T
pipe_protocol_prefix = M
# Configure optional alternative pipes
# alt_pipe_prefix = "C"
# alt_pipe_suffix = "_lg"
# Timeout in seconds to wait for the status data (only required if enable_neighbors_status_refresh is true)
neighbors_refresh_timeout = 2

View File

@ -17,5 +17,7 @@ type Config struct {
MainTable string `ini:"main_table"`
PeerTablePrefix string `ini:"peer_table_prefix"`
PipeProtocolPrefix string `ini:"pipe_protocol_prefix"`
AltPipePrefix string `ini:"alt_pipe_prefix"`
AltPipeSuffix string `ini:"alt_pipe_suffix"`
NeighborsRefreshTimeout int `ini:"neighbors_refresh_timeout"`
}