Commit c25df01a authored by chenchuanwen's avatar chenchuanwen

bridgeReload

parent 84192eb9
......@@ -38,17 +38,17 @@ class Test extends Logger
public function run()
{
while (true) {
pcntl_signal_dispatch();
printf(".123");
sleep(1);
if (Signal::get() == SIGHUP) {
Signal::reset();
break;
}
require_once APPLICATION_PATH . '/scripts/crontab/push/runRedisBase.php';
}
require APPLICATION_PATH . '/scripts/crontab/push/runRedisBase.php';
// while (true) {
// pcntl_signal_dispatch();
// printf(".123");
// sleep(1);
// if (Signal::get() == SIGHUP) {
// Signal::reset();
// break;
// }
//
// }
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