improve: move backoff to global module

This commit is contained in:
Mmx
2024-09-24 23:53:27 +08:00
parent 5fa863a35e
commit e27db2def6
2 changed files with 5 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ import (
var BackoffConfig backoff.Conf
func initBackoff() {
setting := Settings.Guardian.Backoff
setting := Settings.Backoff
BackoffConfig = backoff.Conf{
Logger: Logger,
DisableRecovery: true,