summaryrefslogtreecommitdiff
path: root/src/support/global.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-12-23 08:21:45 -0500
committerKeith Bostic <keith@wiredtiger.com>2015-12-23 08:21:45 -0500
commita369d26301e5fb1ff5d1a6cfbb4dfeb9c772066b (patch)
tree8b6731e27c3d8344a5a41fe73b71f4a4bac1f673 /src/support/global.c
parentd3bbe226381af870520d8f43f21f8e4b3b53559c (diff)
downloadmongo-a369d26301e5fb1ff5d1a6cfbb4dfeb9c772066b.tar.gz
Don't sleep so long when waiting for gdb to attach, sometimes gdb
doesn't interrupt the sleep, and this way you don't have to wait so long to run functions.
Diffstat (limited to 'src/support/global.c')
-rw-r--r--src/support/global.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/global.c b/src/support/global.c
index 1af7630462c..2330a65a707 100644
--- a/src/support/global.c
+++ b/src/support/global.c
@@ -88,7 +88,7 @@ __wt_attach(WT_SESSION_IMPL *session)
/* Sleep forever, the debugger will interrupt us when it attaches. */
for (;;)
- __wt_sleep(100, 0);
+ __wt_sleep(10, 0);
#else
WT_UNUSED(session);
#endif