diff --git a/http_server.c b/http_server.c index 343739a..94fcdc2 100644 --- a/http_server.c +++ b/http_server.c @@ -209,7 +209,7 @@ void *accept_request(void *data) //LOG("RECALL %d\n", stat); task->handle = accept_request; task->priority = HIGH_PRIORITY; - task->type = LIGHT; + //task->type = LIGHT; return task; default: LOG("Error performing SSL handshake %d %d %lu\n", stat, ret, ERR_get_error()); diff --git a/httpd.c b/httpd.c index 89a3f44..69846dc 100644 --- a/httpd.c +++ b/httpd.c @@ -205,7 +205,7 @@ int main(int argc, char* argv[]) #endif // create callback for the server task = antd_create_task(accept_request,(void*)request, finish_request ); - task->type = LIGHT; + //task->type = LIGHT; antd_add_task(&scheduler, task); } diff --git a/libs/scheduler.c b/libs/scheduler.c index 6599442..84f3fe9 100644 --- a/libs/scheduler.c +++ b/libs/scheduler.c @@ -224,7 +224,7 @@ antd_task_t* antd_create_task(void* (*handle)(void*), void *data, void* (*callba task->handle = handle; task->callback = callback_of(callback); task->priority = NORMAL_PRIORITY; - task->type = HEAVY; //LIGHT; + task->type = LIGHT; return task; }