diff options
author | Mario <mario@mariovavti.com> | 2022-12-18 10:19:06 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-12-18 10:19:06 +0000 |
commit | e36677b757f71ad105adebc73fb26dd449e7e620 (patch) | |
tree | 666fd1c0882610be0ba98f8d2a72c9fdfaae5a28 /Zotlabs/Module | |
parent | 4d54755057047f6947285ee0db6e89fa12f294c8 (diff) | |
download | volse-hubzilla-e36677b757f71ad105adebc73fb26dd449e7e620.tar.gz volse-hubzilla-e36677b757f71ad105adebc73fb26dd449e7e620.tar.bz2 volse-hubzilla-e36677b757f71ad105adebc73fb26dd449e7e620.zip |
queueworker: cleanup and implement auto sleep interval (hidden config for now)
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Queueworker.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Queueworker.php b/Zotlabs/Module/Queueworker.php index 808a9ed61..7c5e4f1cf 100644 --- a/Zotlabs/Module/Queueworker.php +++ b/Zotlabs/Module/Queueworker.php @@ -66,7 +66,7 @@ class Queueworker extends Controller { $maxqueueworkers = get_config('queueworker', 'max_queueworkers', 4); $maxqueueworkers = ($maxqueueworkers > 3) ? $maxqueueworkers : 4; - set_config('queueworker', 'max_queueworkers', $maxqueueworkers); + //set_config('queueworker', 'max_queueworkers', $maxqueueworkers); $sc = ''; @@ -81,7 +81,7 @@ class Queueworker extends Controller { $workermaxage = get_config('queueworker', 'queueworker_max_age'); $workermaxage = ($workermaxage >= 120) ? $workermaxage : 300; - set_config('queueworker', 'max_queueworker_age', $workermaxage); + //set_config('queueworker', 'max_queueworker_age', $workermaxage); $sc .= replace_macros(get_markup_template('field_input.tpl'), [ '$field' => [ @@ -94,7 +94,7 @@ class Queueworker extends Controller { $queueworkersleep = get_config('queueworker', 'queue_worker_sleep'); $queueworkersleep = ($queueworkersleep > 100) ? $queueworkersleep : 100; - set_config('queueworker', 'queue_worker_sleep', $queueworkersleep); + //set_config('queueworker', 'queue_worker_sleep', $queueworkersleep); $sc .= replace_macros(get_markup_template('field_input.tpl'), [ '$field' => [ |