From 2dcffecfa47e714009501161fcf9494d33aee092 Mon Sep 17 00:00:00 2001 From: "Tianfeng.Han" Date: Mon, 21 Oct 2024 12:44:47 +0800 Subject: [PATCH] Revert "Fix process shutdown core test (#5529)" This reverts commit 8aa598440a374d4caa4a631856144ca09d51b79f. --- core-tests/src/os/process_pool.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/core-tests/src/os/process_pool.cpp b/core-tests/src/os/process_pool.cpp index 91827e4bb90..9685de1ab98 100644 --- a/core-tests/src/os/process_pool.cpp +++ b/core-tests/src/os/process_pool.cpp @@ -88,7 +88,6 @@ TEST(process_pool, shutdown) { pool.set_protocol(SW_PROTOCOL_TASK); pool.ptr = shm_value; pool.onWorkerStart = [](ProcessPool *pool, Worker *worker) { - SwooleWG.worker->set_max_request(100, 1000); int *shm_value = (int *) pool->ptr; *shm_value = magic_number; usleep(1);