Search
SailfishOS Open Build Service
>
Projects
>
home:plfiorini
:
maui:devel
:
armv6l
>
telepathy-gabble
> _service:tar_git:0001-Change-default-keepalive-interval-to-2.5-minutes.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:0001-Change-default-keepalive-interval-to-2.5-minutes.patch of Package telepathy-gabble
From c082ab87c291a555f212ec07ff2f9d45ffd1ba6d Mon Sep 17 00:00:00 2001 From: John Brooks <john.brooks@jollamobile.com> Date: Tue, 10 Dec 2013 19:45:53 -0700 Subject: [PATCH] Change default keepalive-interval to 2.5 minutes Waking up and sending packets at 30 second intervals is unreasonable for mobile, and seems more frequent than actually necessary. An interval of 150 seconds puts it in the next bracket of iphb wakeups. --- src/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol.c b/src/protocol.c index deeaa8d..77a20f2 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -158,7 +158,7 @@ static TpCMParamSpec jabber_params[] = { NULL, NULL }, { "keepalive-interval", "u", G_TYPE_UINT, - TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT, GUINT_TO_POINTER (30), + TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT, GUINT_TO_POINTER (150), 0 /* unused */, NULL, NULL }, { TP_PROP_CONNECTION_INTERFACE_CONTACT_LIST_DOWNLOAD_AT_CONNECTION, -- 1.8.3.1