mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2026-03-22 00:28:12 +05:00
yep yep
This commit is contained in:
@@ -479,6 +479,8 @@ func init() {
|
||||
if cfg.SoundcloudApiProxy != "" {
|
||||
d := fasthttpproxy.Dialer{Config: httpproxy.Config{HTTPProxy: cfg.SoundcloudApiProxy, HTTPSProxy: cfg.SoundcloudApiProxy}, TCPDialer: fasthttp.TCPDialer{DNSCacheDuration: cfg.DNSCacheTTL}}
|
||||
httpc.Dial, _ = d.GetDialFunc(false)
|
||||
|
||||
genericClient.Dial = httpc.Dial
|
||||
}
|
||||
go func() {
|
||||
ticker := time.NewTicker(cfg.UserCacheCleanDelay)
|
||||
|
||||
Reference in New Issue
Block a user