aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-06-17 10:52:14 +1000
committerRedMatrix <info@friendica.com>2014-06-17 10:52:14 +1000
commit8b747d8178e4310525be0f87d6f2ed28a679eed3 (patch)
treef191235c26e41a9543d11d1a0927de1ada020ca2
parent70b99ee23bbe88f4ff1cc231a87f9e53d27ff6fb (diff)
parente6a655bde45f625eb41c670d49bc0107973868f6 (diff)
downloadvolse-hubzilla-8b747d8178e4310525be0f87d6f2ed28a679eed3.tar.gz
volse-hubzilla-8b747d8178e4310525be0f87d6f2ed28a679eed3.tar.bz2
volse-hubzilla-8b747d8178e4310525be0f87d6f2ed28a679eed3.zip
Merge pull request #497 from git-marijus/master
make maximum load average setting work again
-rw-r--r--mod/admin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/admin.php b/mod/admin.php
index 74e2d8f56..37a147df6 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -255,6 +255,7 @@ function admin_page_site_post(&$a){
$timeout = ((x($_POST,'timeout')) ? intval(trim($_POST['timeout'])) : 60);
$delivery_interval = ((x($_POST,'delivery_interval'))? intval(trim($_POST['delivery_interval'])) : 0);
$poll_interval = ((x($_POST,'poll_interval'))? intval(trim($_POST['poll_interval'])) : 0);
+ $maxloadavg = ((x($_POST,'maxloadavg'))? intval(trim($_POST['maxloadavg'])) : 50);
// $ssl_policy = ((x($_POST,'ssl_policy')) ? intval($_POST['ssl_policy']) : 0);
/*
if($ssl_policy != intval(get_config('system','ssl_policy'))) {