Add possibility to scale middleproxy buffers

This commit is contained in:
9seconds
2020-03-30 16:53:14 +03:00
parent 35f0fca3c5
commit b5a8d8b804
5 changed files with 52 additions and 9 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ func Proxy() error { // nolint: funlen
zap.S().Debugw("Configuration", "config", config.Printable())
if len(config.C.AdTag) > 0 {
if config.C.MiddleProxyMode() {
zap.S().Infow("Use middle proxy connection to Telegram")
diff, err := ntp.Fetch()