summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-08-29 14:17:59 -0700
committerMax Romanov <max.romanov@nginx.com>2017-08-29 14:17:59 -0700
commit6de7cc86344fff319d47f4e3656b7df2bef3283a (patch)
treea36158af4744730713497351466c6679be20ab10 /src/nxt_router.c
parent5b879f0e2bdaf66321e814dee7225f7e99d9cc51 (diff)
downloadunit-6de7cc86344fff319d47f4e3656b7df2bef3283a.tar.gz
unit-6de7cc86344fff319d47f4e3656b7df2bef3283a.tar.bz2
Fixed debug message broken in e8da77a2c293.
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r--src/nxt_router.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index d6187d86..62e1f3a9 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -2143,10 +2143,9 @@ nxt_router_send_sw_request(nxt_task_t *task, void *obj, void *data)
nxt_queue_insert_tail(&app->requests, &sw->ra->link);
if (app->workers + app->pending_workers >= app->max_workers) {
- nxt_debug(task, "app '%V' %p %uD/%uD running/penging workers, "
- "post sw #%uxD release to %p", &app->name, app,
- "sw %p release", &app->name, app,
- app->workers, app->pending_workers, sw);
+ nxt_debug(task, "app '%V' %p %uD/%uD running/pending workers, "
+ "max_workers (%uD) reached", &app->name, app,
+ app->workers, app->pending_workers, app->max_workers);
nxt_router_sw_release(task, sw);