|
@@ -48,13 +48,13 @@ class HttpDangerTimer
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if ($serv->worker_id == 1) {
|
|
if ($serv->worker_id == 1) {
|
|
|
- Swoole\Timer::tick(30000, function ($id) {
|
|
|
|
|
|
|
+ Swoole\Timer::tick(60000, function ($id) {
|
|
|
$this->HandleMatch();
|
|
$this->HandleMatch();
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if ($serv->worker_id == 2) {
|
|
if ($serv->worker_id == 2) {
|
|
|
- Swoole\Timer::tick(30000, function ($id) {
|
|
|
|
|
|
|
+ Swoole\Timer::tick(60000, function ($id) {
|
|
|
$this->HandleOrderInvalid();
|
|
$this->HandleOrderInvalid();
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|