X-Git-Url: https://git.cworth.org/git?p=loudgame;a=blobdiff_plain;f=loudgame.c;h=d99a0d2e3677ba039b6bfa950870770e2d64ef9f;hp=2cb9a1869f62e16160909a4fad2add98524abb7e;hb=de3821affac7e91dc7c8692716550f7fbfe5a57f;hpb=d39631665209cf905165fc25ba8d224086578297 diff --git a/loudgame.c b/loudgame.c index 2cb9a18..d99a0d2 100644 --- a/loudgame.c +++ b/loudgame.c @@ -200,6 +200,11 @@ make_connection (gpointer closure) loudgame_quit (lg, 1); } + /* It seems to be necessary to explicitly tell the server we're + * still here. Let's see if one keep-alive every 60 seconds is + * sufficient. */ + lm_connection_set_keep_alive_rate (lg->connection, 60); + /* Return false to not schedule another call. */ return 0; }