优化: 库存耗尽继续重试 + 默认并发数改为150
- 库存耗尽后不再停止,继续重试(斗鱼可能补货) - 默认并发数从 80 提升到 150,提高抢购速度
This commit is contained in:
@@ -23,7 +23,7 @@ const (
|
||||
ScoreURL = BaseURL + "/japi/oms/web/peace/credit/balance"
|
||||
UserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36"
|
||||
DefaultAttempts = 1
|
||||
DefaultConcurrency = 80
|
||||
DefaultConcurrency = 150
|
||||
ProductCacheTTL = 30 * time.Second
|
||||
|
||||
DefaultConfigFile = "config.json"
|
||||
|
||||
Reference in New Issue
Block a user