Commit c25df01a authored by chenchuanwen's avatar chenchuanwen

bridgeReload

parent 84192eb9
...@@ -38,17 +38,17 @@ class Test extends Logger ...@@ -38,17 +38,17 @@ class Test extends Logger
public function run() public function run()
{ {
require APPLICATION_PATH . '/scripts/crontab/push/runRedisBase.php';
while (true) { // while (true) {
pcntl_signal_dispatch(); // pcntl_signal_dispatch();
printf(".123"); // printf(".123");
sleep(1); // sleep(1);
if (Signal::get() == SIGHUP) { // if (Signal::get() == SIGHUP) {
Signal::reset(); // Signal::reset();
break; // break;
} // }
require_once APPLICATION_PATH . '/scripts/crontab/push/runRedisBase.php'; //
} // }
printf("\n"); printf("\n");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment