mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-06 22:27:42 +02:00
Merge branch 'pidlock' into 'master'
Pidlock See merge request tt-rss/tt-rss!162
This commit is contained in:
commit
46e05583a9
@ -181,7 +181,7 @@
|
|||||||
|
|
||||||
$lock_handle = make_lockfile($lock_filename);
|
$lock_handle = make_lockfile($lock_filename);
|
||||||
|
|
||||||
if (isset($options["task"]) && isset($options["pidlock"])) {
|
if (isset($options["task"])) {
|
||||||
$waits = $options["task"] * 5;
|
$waits = $options["task"] * 5;
|
||||||
Debug::log("Waiting before update ($waits)...");
|
Debug::log("Waiting before update ($waits)...");
|
||||||
sleep($waits);
|
sleep($waits);
|
||||||
|
Loading…
Reference in New Issue
Block a user