Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Daniel Brötzmann
python-nbxmpp
Commits
5e63a080
Commit
5e63a080
authored
Oct 26, 2020
by
Philipp Hörist
Browse files
Client: Revert ping timeout
parent
fe1cf357
Changes
1
Hide whitespace changes
Inline
Side-by-side
nbxmpp/client.py
View file @
5e63a080
...
...
@@ -560,7 +560,7 @@ class Client(Observable):
self
.
_ping_source_id
=
None
self
.
_log
.
info
(
'Start ping timer'
)
self
.
_ping_source_id
=
GLib
.
timeout_add_seconds
(
5
,
self
.
_ping
)
self
.
_ping_source_id
=
GLib
.
timeout_add_seconds
(
180
,
self
.
_ping
)
def
_remove_ping_timer
(
self
):
if
self
.
_ping_source_id
is
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment