diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-01-31 22:26:50 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-01-31 22:26:50 +0300 |
commit | 18281ee37eaa9409a6af0aeb3c1926bba36cba0f (patch) | |
tree | 02c6421f40c6fe0b0a966e3f1e355da0a9b0fe4c /src/nxt_event_conn_accept.c | |
parent | bb87fa11ca65d1263a32f86d51d1daa89dc11544 (diff) | |
download | unit-18281ee37eaa9409a6af0aeb3c1926bba36cba0f.tar.gz unit-18281ee37eaa9409a6af0aeb3c1926bba36cba0f.tar.bz2 |
Event engine timers refactoring.
Diffstat (limited to 'src/nxt_event_conn_accept.c')
-rw-r--r-- | src/nxt_event_conn_accept.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nxt_event_conn_accept.c b/src/nxt_event_conn_accept.c index 5ec223b0..02659c3f 100644 --- a/src/nxt_event_conn_accept.c +++ b/src/nxt_event_conn_accept.c @@ -66,8 +66,6 @@ nxt_event_conn_listen(nxt_task_t *task, nxt_listen_socket_t *ls) cls->timer.handler = nxt_event_conn_listen_timer_handler; cls->timer.log = &nxt_main_log; - nxt_timer_ident(&cls->timer, cls->socket.fd); - cls->task.thread = task->thread; cls->task.log = &nxt_main_log; cls->task.ident = nxt_task_next_ident(); @@ -202,9 +200,6 @@ nxt_event_conn_accept(nxt_task_t *task, nxt_event_conn_listen_t *cls, { nxt_event_conn_t *next; - nxt_timer_ident(&c->read_timer, c->socket.fd); - nxt_timer_ident(&c->write_timer, c->socket.fd); - /* This allocation cannot fail. */ (void) nxt_sockaddr_text(c->mem_pool, c->remote, 0); |