chore: add default value for backoff

This commit is contained in:
Mmx
2024-09-24 23:53:47 +08:00
parent e27db2def6
commit e68bd88e05
2 changed files with 6 additions and 1 deletions

View File

@@ -41,5 +41,10 @@ var defaultConfig = ConfFromFile{
CustomHeader: map[string]interface{}{
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
},
Backoff: BackoffConf{
InitialDuration: 2,
MaxDuration: 300,
ExponentFactor: 1,
},
},
}