server: Don't delay consecutive syncs by two seconds.
This commit is contained in:
parent
0e3c0724e0
commit
d93184f2ed
1 changed files with 1 additions and 1 deletions
|
@ -1357,7 +1357,7 @@ def matrix_timer_cb(server_name, remaining_calls):
|
||||||
server.disconnect()
|
server.disconnect()
|
||||||
return W.WEECHAT_RC_OK
|
return W.WEECHAT_RC_OK
|
||||||
|
|
||||||
if server.sync_time and current_time > (server.sync_time + 2):
|
if server.sync_time and current_time > server.sync_time:
|
||||||
timeout = 0 if server.transport_type == TransportType.HTTP else 30000
|
timeout = 0 if server.transport_type == TransportType.HTTP else 30000
|
||||||
sync_filter = {
|
sync_filter = {
|
||||||
"room": {
|
"room": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue