aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 55ba49d62b..1fcdf824f9 100644
--- a/thread.c
+++ b/thread.c
@@ -1312,7 +1312,7 @@ rb_threadptr_execute_interrupts_common(rb_thread_t *th)
}
if (timer_interrupt) {
- unsigned long limits_us = 250 * 1000;
+ unsigned long limits_us = TIME_QUANTUM_USEC;
if (th->priority > 0)
limits_us <<= th->priority;