|
@@ -16,10 +16,10 @@ class queuehandler
|
|
|
$port = $other_config['net_queue']['port'];
|
|
|
if (ob_get_level()) ob_end_clean();
|
|
|
|
|
|
- pcntl_signal(SIGINT, [$this,'sig_handler']);
|
|
|
- pcntl_signal(SIGHUP, [$this,'sig_handler']);
|
|
|
- pcntl_signal(SIGQUIT, [$this,'sig_handler']);
|
|
|
- pcntl_signal(SIGTERM, [$this,'sig_handler']);
|
|
|
+// pcntl_signal(SIGINT, [$this,'sig_handler']);
|
|
|
+// pcntl_signal(SIGHUP, [$this,'sig_handler']);
|
|
|
+// pcntl_signal(SIGQUIT, [$this,'sig_handler']);
|
|
|
+// pcntl_signal(SIGTERM, [$this,'sig_handler']);
|
|
|
|
|
|
$logic_queue = new queue_logic();
|
|
|
$worker = new QueueServer($queue_name,$host,$port);
|