Commit b8d36994 authored by Wandenberg Peixoto's avatar Wandenberg Peixoto

start memory cleanup timer when publish a message

parent a2bc361d
......@@ -66,6 +66,9 @@ ngx_http_push_stream_publisher_handler(ngx_http_request_t *r)
return rc;
}
// turn on timer to cleanup memory of old messages and channels
ngx_http_push_stream_memory_cleanup_timer_set(cf);
return NGX_OK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment