mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 13:54:02 +03:00
Propagate DcUpdateEach setting
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user