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:
@ -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
|
||||
|
||||
|
@ -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"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user