feat: able to set RELAY_TIMEOUT

This commit is contained in:
JustSong committed 2023-10-22 20:39:49 +08:00
1 parent 0c7b132dde
commit 0e4f9e4690
3 files changed
+11 -1

No files matched your search

+2
View File
@@ -95,6 +95,8 @@ var SyncFrequency = GetOrDefault("SYNC_FREQUENCY", 10*60) // unit is second
var BatchUpdateEnabled = false
var BatchUpdateInterval = GetOrDefault("BATCH_UPDATE_INTERVAL", 5)
var RelayTimeout = GetOrDefault("RELAY_TIMEOUT", 0) // unit is second
const (
RequestIdKey = "X-Oneapi-Request-Id"
)