Skip to content

Commit 5e3d654

Browse files
committed
fix: exclude "async" example from static builds
The example starts a multi-threaded tokio runtime in the master process.
1 parent 58f34cd commit 5e3d654

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/nginx.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
module:
33-
# static
33+
- static
3434
- dynamic
3535
nginx-ref:
3636
# master

examples/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ngx_cargo_profile=ngx-module
44
if [ $HTTP = YES ]; then
55
ngx_module_type=HTTP
66

7-
if :; then
7+
if [ "$ngx_module_link" = DYNAMIC ]; then
88
ngx_module_name=ngx_http_async_module
99
ngx_module_lib=async
1010

0 commit comments

Comments
 (0)