- Fixed high concurrency panic on slow geoIP resolve mode
- Added test case for concurrent geodb access
This commit is contained in:
Toby Chui
2024-12-01 21:21:53 +08:00
parent 4a4483e09d
commit 6bf944e13c
4 changed files with 55 additions and 15 deletions

View File

@@ -46,7 +46,6 @@ import (
"imuslab.com/zoraxy/mod/utils"
)
/* SIGTERM handler, do shutdown sequences before closing */
func SetupCloseHandler() {
c := make(chan os.Signal, 2)