Selaa lähdekoodia

Merge 85a59dac34 into d095108334

pull/573/merge
Andrey Butirsky 1 viikko sitten
vanhempi
commit
a5607e3083
No account linked to committer's email address
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1
    1
      example.config.toml
  2. 1
    1
      mtglib/init.go

+ 1
- 1
example.config.toml Näytä tiedosto

97
 # Sometimes time can be skewed so we accept all messages within a
97
 # Sometimes time can be skewed so we accept all messages within a
98
 # time range of this parameter.
98
 # time range of this parameter.
99
 #
99
 #
100
-# Default value is 3s
100
+# Default value is 15s
101
 tolerate-time-skewness = "5s"
101
 tolerate-time-skewness = "5s"
102
 
102
 
103
 # Telegram has a concept of DC. You can think about DC as a number of a cluster
103
 # Telegram has a concept of DC. You can think about DC as a number of a cluster

+ 1
- 1
mtglib/init.go Näytä tiedosto

87
 
87
 
88
 	// DefaultTolerateTimeSkewness is a default timeout for time skewness on a
88
 	// DefaultTolerateTimeSkewness is a default timeout for time skewness on a
89
 	// faketls timeout verification.
89
 	// faketls timeout verification.
90
-	DefaultTolerateTimeSkewness = 3 * time.Second
90
+	DefaultTolerateTimeSkewness = 15 * time.Second
91
 
91
 
92
 	// DefaultPreferIP is a default value for Telegram IP connectivity preference.
92
 	// DefaultPreferIP is a default value for Telegram IP connectivity preference.
93
 	DefaultPreferIP = "prefer-ipv6"
93
 	DefaultPreferIP = "prefer-ipv6"

Loading…
Peruuta
Tallenna