mirror of
https://github.com/friendica/friendica
synced 2025-04-26 08:30:10 +00:00
Moved "privacy_image_cache" into the core. Enabled by default, can be disabled in the page settings.
This commit is contained in:
parent
731d944ab5
commit
d4b2d3bf8a
14 changed files with 367 additions and 40 deletions
|
@ -40,7 +40,7 @@ function cronhooks_run(&$argv, &$argc){
|
|||
$pidfile = new pidfile($lockpath, 'cronhooks');
|
||||
if($pidfile->is_already_running()) {
|
||||
logger("cronhooks: Already running");
|
||||
if ($pidfile->running_time() > 9*60) {
|
||||
if ($pidfile->running_time() > 19*60) {
|
||||
$pidfile->kill();
|
||||
logger("cronhooks: killed stale process");
|
||||
// Calling a new instance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue