From 67ef88cc211d173e4c834f66e40bbccabf566243 Mon Sep 17 00:00:00 2001 From: lxsang Date: Sun, 31 Jan 2021 21:07:43 +0100 Subject: [PATCH] reduce scheduler poll time --- lib/scheduler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scheduler.h b/lib/scheduler.h index 5278e0a..2d11a13 100644 --- a/lib/scheduler.h +++ b/lib/scheduler.h @@ -11,7 +11,7 @@ #define TASK_EVT_ON_READABLE 0x02 #define TASK_EVT_ON_WRITABLE 0x04 #define TASK_EVT_ON_TIMEOUT 0x08 -#define POLL_EVENT_TO 50 // ms +#define POLL_EVENT_TO 10 // ms typedef struct _antd_scheduler_t antd_scheduler_t; typedef struct _antd_callback_t antd_callback_t;