Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nginx-push-stream-module
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
nginx-push-stream-module
Commits
1a9e8c8a
Commit
1a9e8c8a
authored
Sep 24, 2011
by
Wandenberg Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moving ping and disconnect timer to start with worker
parent
41a75a1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ngx_http_push_stream_module_setup.c
src/ngx_http_push_stream_module_setup.c
+4
-0
ngx_http_push_stream_module_subscriber.c
src/ngx_http_push_stream_module_subscriber.c
+0
-4
No files found.
src/ngx_http_push_stream_module_setup.c
View file @
1a9e8c8a
...
...
@@ -243,6 +243,10 @@ ngx_http_push_stream_init_worker(ngx_cycle_t *cycle)
// turn on timer to cleanup memory of old messages and channels
ngx_http_push_stream_memory_cleanup_timer_set
();
// setting disconnect and ping timer
ngx_http_push_stream_disconnect_timer_set
();
ngx_http_push_stream_ping_timer_set
();
return
ngx_http_push_stream_register_worker_message_handler
(
cycle
);
}
...
...
src/ngx_http_push_stream_module_subscriber.c
View file @
1a9e8c8a
...
...
@@ -170,10 +170,6 @@ ngx_http_push_stream_subscriber_handler(ngx_http_request_t *r)
}
}
// setting disconnect and ping timer
ngx_http_push_stream_disconnect_timer_set
();
ngx_http_push_stream_ping_timer_set
();
ngx_destroy_pool
(
temp_pool
);
return
NGX_DONE
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment