[gnome-session] gsm-manager.c: Bump phase timeout to 30 seconds
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] gsm-manager.c: Bump phase timeout to 30 seconds
- Date: Mon, 28 Mar 2011 21:07:32 +0000 (UTC)
commit 916dc2958953844b048cbcd35ef5b1686ea1b743
Author: Colin Walters <walters verbum org>
Date: Fri Mar 25 15:30:01 2011 -0400
gsm-manager.c: Bump phase timeout to 30 seconds
10 seconds is probably just too short for live media and the like,
see the comment in the source.
https://bugzilla.gnome.org/show_bug.cgi?id=645650
gnome-session/gsm-manager.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 6dfcd09..d4bc976 100644
--- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c
@@ -70,7 +70,15 @@
#define GSM_MANAGER_DBUS_PATH "/org/gnome/SessionManager"
#define GSM_MANAGER_DBUS_NAME "org.gnome.SessionManager"
-#define GSM_MANAGER_PHASE_TIMEOUT 10 /* seconds */
+/* Probably about the longest amount of time someone could reasonably
+ * want to wait, at least for something happening more than once.
+ * We can get deployed on very slow media though like CDROM devices,
+ * often with complex stacking/compressing filesystems on top, which
+ * is not a recipie for speed. Particularly now that we throw up
+ * a fail whale if required components don't show up quickly enough,
+ * let's make this fairly long.
+ *
+#define GSM_MANAGER_PHASE_TIMEOUT 30 /* seconds */
#define GDM_FLEXISERVER_COMMAND "gdmflexiserver"
#define GDM_FLEXISERVER_ARGS "--startnew Standard"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]