refactor: harden sqlite runtime and packaged startup flow
- refine config loading with --config and current-directory .env - improve sqlite busy handling and runtime DB tuning - restore telegram payment notification and wallet input flow - add behavior-based config and callback recovery tests
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
package http_client
|
||||
|
||||
import (
|
||||
"github.com/go-resty/resty/v2"
|
||||
"time"
|
||||
|
||||
"github.com/go-resty/resty/v2"
|
||||
)
|
||||
|
||||
// GetHttpClient 获取请求客户端
|
||||
@@ -13,6 +14,6 @@ func GetHttpClient(proxys ...string) *resty.Client {
|
||||
proxy := proxys[0]
|
||||
client.SetProxy(proxy)
|
||||
}
|
||||
client.SetTimeout(time.Second * 5)
|
||||
client.SetTimeout(time.Second * 10)
|
||||
return client
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user