stellar registers packet_manager as a module; session_manager registers polling callback

This commit is contained in:
luwenpeng
2024-10-09 10:01:20 +08:00
parent d9d9b4728d
commit 0f082d975e
16 changed files with 208 additions and 141 deletions

View File

@@ -1,2 +1 @@
install(FILES stellar.toml DESTINATION conf COMPONENT PROGRAM)
install(FILES log.toml DESTINATION conf COMPONENT PROGRAM)
install(FILES stellar.toml DESTINATION conf COMPONENT PROGRAM)

View File

@@ -1,4 +0,0 @@
[log]
output = "both" # stderr, file, both
file = "log/stellar.log"
level = "INFO" # TRACE, DEBUG, INFO, WARN, ERROR, FATAL

View File

@@ -61,4 +61,24 @@
[stat]
merge_interval_ms = 500 # range: [0, 60000] (ms)
output_interval_ms = 1000 # range: [0, 60000] (ms)
output_interval_ms = 1000 # range: [0, 60000] (ms)
[log]
output = "both" # stderr, file, both
file = "log/stellar.log"
level = "INFO" # TRACE, DEBUG, INFO, WARN, ERROR, FATAL
[[module]]
path = ""
init = "polling_manager_on_init"
exit = "polling_manager_on_exit"
[[module]]
path = ""
init = "packet_manager_on_init"
exit = "packet_manager_on_exit"
[[module]]
path = ""
init = "session_manager_on_init"
exit = "session_manager_on_exit"