File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -260,9 +260,8 @@ Feel free to clone a sample project on [Sample Project](https://github.com/Taymi
260260
261261int is_service_on = 0 ;
262262
263- void ngx_link_func_init (ngx_link_func_ctx_t* ctx) {
264- ngx_link_func_log(info, ctx, "%s", "Starting The Application");
265-
263+ void ngx_link_func_init_cycle (ngx_link_func_cycle_t* cycle) {
264+ ngx_link_func_cyc_log(info, cycle, "%s", "starting application");
266265
267266 is_service_on=1;
268267}
@@ -337,8 +336,8 @@ void my_app_simple_get_no_resp(ngx_link_func_ctx_t *ctx) {
337336
338337}
339338
340- void ngx_link_func_exit(ngx_link_func_ctx_t * ctx ) {
341- ngx_link_func_log (info, ctx , "%s\n", "Shutting down The Application");
339+ void ngx_link_func_exit_cycle(ngx_link_func_cycle_t * cyc ) {
340+ ngx_link_func_cyc_log (info, cyc , "%s\n", "Shutting down/reloading the Application");
342341
343342 is_service_on = 0;
344343}
You can’t perform that action at this time.
0 commit comments