Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#2491 closed enhancement (fixed)

[PATCH] Keep XMPP connections alive

Reported by: Josh Owned by: Josh
Priority: Nice to Have Milestone: Alpha 16
Component: Multiplayer lobby Keywords: patch
Cc: Patch:

Description

Wake up gloox periodically to make sure no XMPP connections timeout.

Attachments (2)

global-XMPP-receive.diff (3.0 KB ) - added by Josh 10 years ago.
First version, does not seem to cause any regressions locally and costs less than 100μs per frame with the lobby running.
global-XMPP-receive-v2.diff (5.2 KB ) - added by Josh 10 years ago.
Also remove old (now useless) API

Download all attachments as: .zip

Change History (5)

by Josh, 10 years ago

Attachment: global-XMPP-receive.diff added

First version, does not seem to cause any regressions locally and costs less than 100μs per frame with the lobby running.

comment:1 by Josh, 10 years ago

Keywords: patch review added
Summary: Keep XMPP connections alive[PATCH] Keep XMPP connections alive

by Josh, 10 years ago

Attachment: global-XMPP-receive-v2.diff added

Also remove old (now useless) API

comment:2 by JoshuaJB, 10 years ago

Resolution: fixed
Status: newclosed

In 15018:

Move XMPP polling to the mainloop. Should reduce lobby disconnects. Fixes #2491

comment:3 by sanderd17, 8 years ago

Keywords: review removed
Note: See TracTickets for help on using tickets.