[gnome-software] Decrease the network timeout from 60s to 10s
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Decrease the network timeout from 60s to 10s
- Date: Thu, 9 Jun 2016 10:34:34 +0000 (UTC)
commit ac02c67bbf8e30adf6dfb0346a169329a064b4fc
Author: Richard Hughes <richard hughsie com>
Date: Thu Jun 9 11:33:13 2016 +0100
Decrease the network timeout from 60s to 10s
If a server goes down for some reason, 60s is a long time to stare at a spinner.
src/gs-plugin-loader.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 28e384e..25e9c12 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -3689,6 +3689,7 @@ gs_plugin_loader_init (GsPluginLoader *plugin_loader)
/* share a soup session (also disable the double-compression) */
priv->soup_session = soup_session_new_with_options (SOUP_SESSION_USER_AGENT, gs_user_agent (),
+ SOUP_SESSION_TIMEOUT, 10,
NULL);
soup_session_remove_feature_by_type (priv->soup_session,
SOUP_TYPE_CONTENT_DECODER);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]