Commit 2c8da811 authored by chenchuanwen's avatar chenchuanwen

bridgeReload

parent b239bd98
...@@ -6,4 +6,4 @@ ...@@ -6,4 +6,4 @@
* Time: 下午 2:29 * Time: 下午 2:29
*/ */
echo 'lastlast'.PHP_EOL; echo 'first_test'.PHP_EOL;
\ No newline at end of file \ No newline at end of file
...@@ -37,6 +37,7 @@ class Test extends Logger ...@@ -37,6 +37,7 @@ 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");
...@@ -103,7 +104,6 @@ class Daemon extends Logger { ...@@ -103,7 +104,6 @@ class Daemon extends Logger {
private function run(){ private function run(){
while(true){ while(true){
printf("The process begin.\n"); printf("The process begin.\n");
require_once APPLICATION_PATH . '/scripts/crontab/push/runRedisBase.php';
$this->class->run(); $this->class->run();
printf("The process end.\n"); printf("The process end.\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