Skip to content

Commit

Permalink
disable ngx_lua_assert
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw authored and vm-001 committed Feb 2, 2023
1 parent 3d4e824 commit 39b66ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ index f71a3e00..0d403716 100644
+
+ items = (ngx_http_lua_balancer_keepalive_item_t *) (&upool->free + 1);
+
+ ngx_http_lua_assert((void *) items == ngx_align_ptr(items, NGX_ALIGNMENT));
+ /*ngx_http_lua_assert((void *) items == ngx_align_ptr(items, NGX_ALIGNMENT));*/
+
+ for (i = 0; i < cpool_size; i++) {
+ ngx_queue_insert_head(&upool->free, &items[i].queue);
Expand Down

0 comments on commit 39b66ad

Please sign in to comment.