[tools] Increases some of the timeouts

since e.g. stealing the hotplug lock after five seconds is completely insane.

From: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
This commit is contained in:
Christian Limpach committed 2006-09-21 13:53:49 +01:00
1 parent fa4cdd4564
commit 212efff62a
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@
LOCK_SLEEPTIME=1
LOCK_SPINNING_RETRIES=5
LOCK_RETRIES=10
LOCK_RETRIES=100
LOCK_BASEDIR=/var/run/xen-hotplug
+2 -2
View File
@@ -520,8 +520,8 @@ int main_loop(void)
}
}
/* Wait up to 10 msec. */
main_loop_wait(10);
/* Wait up to 100 msec. */
main_loop_wait(100);
if (env->send_event) {
env->send_event = 0;
@@ -25,7 +25,7 @@ from xen.xend.XendLogging import log
from xen.xend.xenstore.xstransact import xstransact, complete
from xen.xend.xenstore.xswatch import xswatch
DEVICE_CREATE_TIMEOUT = 10
DEVICE_CREATE_TIMEOUT = 100
HOTPLUG_STATUS_NODE = "hotplug-status"
HOTPLUG_ERROR_NODE = "hotplug-error"
HOTPLUG_STATUS_ERROR = "error"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.