mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Implement multiprocessing, and try to make webcron more resilient
This commit is contained in:
parent
097cecece8
commit
61b9f57196
2 changed files with 57 additions and 5 deletions
|
|
@ -178,9 +178,6 @@ class Queue
|
|||
*/
|
||||
public static function process(int $timeout): void
|
||||
{
|
||||
// Increase the time limit. This may or may not work.
|
||||
set_time_limit(min(60, $timeout));
|
||||
|
||||
// This part will run in a loop until timeout.
|
||||
$process_start_time = microtime(true);
|
||||
while (true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue