1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-01 12:59:47 +02:00

fix scheduler bug: Scheduler dont validate client data as expected

This commit is contained in:
lxsang 2020-09-17 13:42:28 +02:00
parent 69ad08b1a1
commit 8c11f06ff0
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -308,8 +308,8 @@ int antd_scheduler_init(antd_scheduler_t *scheduler, int n)
scheduler->status = 1;
scheduler->workers_queue = NULL;
scheduler->pending_task = 0;
scheduler->validate_data = 0;
scheduler->destroy_data = NULL;
// scheduler->validate_data = 0;
// scheduler->destroy_data = NULL;
scheduler->stat_fd = -1;
//scheduler->stat_data_cb = NULL;
//memset(scheduler->stat_fifo, 0, MAX_FIFO_NAME_SZ);