mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 16:58:22 +01:00
reduce scheduler poll time
This commit is contained in:
parent
899687d255
commit
67ef88cc21
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user