diff options
author | Lance Stout <lancestout@gmail.com> | 2012-03-12 16:19:18 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-03-12 16:19:18 -0700 |
commit | 9f43d31bf511e0917f11b7edcac93921100383b7 (patch) | |
tree | 64084952cc2a8fc147479aae05b56693ed90e751 /sleekxmpp/thirdparty/suelta/mechanisms/google_token.py | |
parent | a318beded4e7402b5855378a57e867362ce3e1af (diff) | |
download | slixmpp-9f43d31bf511e0917f11b7edcac93921100383b7.tar.gz slixmpp-9f43d31bf511e0917f11b7edcac93921100383b7.tar.bz2 slixmpp-9f43d31bf511e0917f11b7edcac93921100383b7.tar.xz slixmpp-9f43d31bf511e0917f11b7edcac93921100383b7.zip |
Add setting for maximum number of reconnection attempts.
Setting self.reconnect_max_attempts to a non-None value will limit
the number of times a connection attempt will be made before quiting
and raising a 'connection_failed' event.
Diffstat (limited to 'sleekxmpp/thirdparty/suelta/mechanisms/google_token.py')
0 files changed, 0 insertions, 0 deletions