diff options
Diffstat (limited to 'routes/push.php')
| -rw-r--r-- | routes/push.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/push.php b/routes/push.php index d74d973..344412c 100644 --- a/routes/push.php +++ b/routes/push.php @@ -70,6 +70,7 @@ Router::getInstance()->mount('/push/simple', function (array $args) { sleep(5); // and only add the job if the client actually waited for the delay time if (!connection_aborted()) { - (new ProcessIncomingPush($obj))->submit(); + // also wait a minute before processing the push + (new ProcessIncomingPush($obj))->submitDelayed(60); } });
\ No newline at end of file |
