diff options
author | friendica <info@friendica.com> | 2012-05-07 04:21:54 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-05-07 04:21:54 -0700 |
commit | e8b9b8a403f4b13ed1548c3a8e616cadcd65e43e (patch) | |
tree | e8029823ef3fd760d0a39d3cd48b7e8ba0fd3be8 /include/poller.php | |
parent | c7f3e626d0bb141be86a8af6ffbe40768bc23069 (diff) | |
download | volse-hubzilla-e8b9b8a403f4b13ed1548c3a8e616cadcd65e43e.tar.gz volse-hubzilla-e8b9b8a403f4b13ed1548c3a8e616cadcd65e43e.tar.bz2 volse-hubzilla-e8b9b8a403f4b13ed1548c3a8e616cadcd65e43e.zip |
separate poll_interval from delivery_interval - default is the same.
Diffstat (limited to 'include/poller.php')
-rw-r--r-- | include/poller.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php index f6553c846..6b12445d1 100644 --- a/include/poller.php +++ b/include/poller.php @@ -126,7 +126,9 @@ function poller_run($argv, $argc){ $force = true; } - $interval = ((get_config('system','delivery_interval') === false) ? 3 : intval(get_config('system','delivery_interval'))); + $interval = intval(get_config('system','poll_interval')); + if(! $interval) + $interval = ((get_config('system','delivery_interval') === false) ? 3 : intval(get_config('system','delivery_interval'))); $sql_extra = (($manual_id) ? " AND `id` = $manual_id " : ""); |