Propagate DcUpdateEach setting

This commit is contained in:
9seconds
2026-02-16 15:07:56 +01:00
parent 836a481026
commit 308e372a5d
9 changed files with 22 additions and 12 deletions
+4
View File
@@ -119,6 +119,10 @@ type ProxyOpts struct {
//
// This is an optional setting
DCOverrides map[int][]string
// DCUpdateEach defines a time duration that is used to fetch a list of
// DCs to use from the Telegram.
DCUpdateEach time.Duration
}
func (p ProxyOpts) valid() error {