mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[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:
1 parent
fa4cdd4564
commit
212efff62a
3 files changed
+4
-4
No files matched your search
@@ -21,7 +21,7 @@
|
||||
|
||||
LOCK_SLEEPTIME=1
|
||||
LOCK_SPINNING_RETRIES=5
|
||||
LOCK_RETRIES=10
|
||||
LOCK_RETRIES=100
|
||||
LOCK_BASEDIR=/var/run/xen-hotplug
|
||||
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||