From e67ab008d4bb9a872d9c25941f145191b73fa604 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 28 Jan 2015 10:22:00 +0800 Subject: [PATCH] * finish task #2187. --- module/misc/control.php | 2 +- www/js/my.full.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/misc/control.php b/module/misc/control.php index 644f704795..7ac198d8c2 100644 --- a/module/misc/control.php +++ b/module/misc/control.php @@ -20,7 +20,7 @@ class misc extends control public function ping() { if(mt_rand(0, 1) == 1) $this->loadModel('setting')->setSN(); - die(""); + die(""); } /** diff --git a/www/js/my.full.js b/www/js/my.full.js index 929c47817a..f5528bb267 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -1205,7 +1205,7 @@ $(document).ready(function() $(window).resize(saveWindowSize); // When window resized, call it again. - if(needPing) setTimeout('setPing()', 1000 * 60); // After 5 minutes, begin ping. + if(needPing) setTimeout('setPing()', 1000 * 60 * 10); // After 10 minutes, begin ping. $('.export').bind('click', function() {