If a short ping causes lots of issues, and anyone who has been here

a while tends to have a longer ping, we should probably have a longer
ping
This commit is contained in:
Thomas Willingham 2014-09-18 18:09:54 +01:00
parent bdfe2c7786
commit fc93ee89a9

View File

@ -982,9 +982,9 @@ class App {
if ($user_scalable === false) if ($user_scalable === false)
$user_scalable = 1; $user_scalable = 1;
$interval = ((local_user()) ? get_pconfig(local_user(),'system','update_interval') : 40000); $interval = ((local_user()) ? get_pconfig(local_user(),'system','update_interval') : 80000);
if($interval < 10000) if($interval < 10000)
$interval = 40000; $interval = 80000;
if(! x($this->page,'title')) if(! x($this->page,'title'))
$this->page['title'] = $this->config['system']['sitename']; $this->page['title'] = $this->config['system']['sitename'];