From: Paul J R Date: Wed, 24 Oct 2012 18:01:17 +0000 (+1100) Subject: disabling chat bits, should really work on core functionaly first. X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=31500e3cbb5b60f5ee9a5d991f6b3f72290ee000;p=gwvp-mini.git disabling chat bits, should really work on core functionaly first. --- diff --git a/gwvpmini/gwvpmini.php b/gwvpmini/gwvpmini.php index e3521f3..25642cb 100644 --- a/gwvpmini/gwvpmini.php +++ b/gwvpmini/gwvpmini.php @@ -11,7 +11,7 @@ require_once("gwvpmini_view.php"); require_once("gwvpmini_activity.php"); require_once("gwvpmini_register.php"); require_once("gwvpmini_user.php"); -require_once("gwvpmini_chat.php"); +// require_once("gwvpmini_chat.php"); TODO: disabling chat for now to work on more important interfaces first if($IS_WEB_REQUEST) { if(gwvpmini_isLoggedIn()) if(gwvpmini_isUserAdmin()) { require_once("gwvpmini_admin.php"); diff --git a/gwvpmini/gwvpmini_gitbackend.php b/gwvpmini/gwvpmini_gitbackend.php index e95ce1e..5aeedcf 100644 --- a/gwvpmini/gwvpmini_gitbackend.php +++ b/gwvpmini/gwvpmini_gitbackend.php @@ -380,7 +380,7 @@ function gwvpmini_callGitBackend($username, $repo) usleep(200000); // error_log("sleep tick"); $stlimit++; - if($stlimit > 2) $continue = false; + if($stlimit > 50) $continue = false; } else { $stlimit = 0; // error_log("sizes: $client_len, $cgi_len"); diff --git a/gwvpmini/gwvpmini_web.php b/gwvpmini/gwvpmini_web.php index df1a19c..71a931f 100644 --- a/gwvpmini/gwvpmini_web.php +++ b/gwvpmini/gwvpmini_web.php @@ -119,7 +119,7 @@ function gwvpmini_goMainPage($bodyFunction = null) echo ""; - echo ""; + echo ""; echo ""; + + /* TODO: taking out chat for now + echo "
"; if($bodyFunction == null) { @@ -133,10 +133,15 @@ function gwvpmini_goMainPage($bodyFunction = null) } } - echo ""; + echo ""; gwvpmini_ChatBuilder(); - echo "
"; + echo ""; */ + + echo ""; echo "";