From c432afefd9df0b1f1b338a5d730a7c3c6c9387db Mon Sep 17 00:00:00 2001 From: Vadim Sadokhov Date: Thu, 20 Jul 2023 13:50:29 +0300 Subject: [PATCH] small fix --- server/php-master.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/php-master.cpp b/server/php-master.cpp index da080cab2a..91d0ccd275 100644 --- a/server/php-master.cpp +++ b/server/php-master.cpp @@ -561,7 +561,6 @@ WorkerType start_master() { } int run_worker(WorkerType worker_type) { - kprintf("master create %s\n", worker_type == WorkerType::general_worker ? "general worker" : "job worker"); dl_block_all_signals(); assert (vk::singleton::get().get_all_alive() < WorkersControl::max_workers_count); @@ -651,8 +650,7 @@ int run_worker(WorkerType worker_type) { } dl_restore_signal_mask(); - - kprintf("new worker launched [pid = %d]\n", (int)new_pid); + kprintf("master create %s [pod = %d]\n", worker_type == WorkerType::general_worker ? "general worker" : "job worker", (int)new_pid); worker_info_t *worker = workers[vk::singleton::get().get_all_alive() - 1] = new_worker(); worker->pid = new_pid;