Mnet: Bugfix for keepalive client
This commit is contained in:
+2
-1
@@ -413,7 +413,7 @@ class auth_plugin_mnet
|
|||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function keepalive_client() {
|
function keepalive_client() {
|
||||||
global $CFG;
|
global $CFG, $MNET;
|
||||||
$cutoff = time() - 300; // TODO - find out what the remote server's session
|
$cutoff = time() - 300; // TODO - find out what the remote server's session
|
||||||
// cutoff is, and preempt that
|
// cutoff is, and preempt that
|
||||||
|
|
||||||
@@ -467,6 +467,7 @@ class auth_plugin_mnet
|
|||||||
} else {
|
} else {
|
||||||
debugging("Server side error has occured on host $mnethostid: " .
|
debugging("Server side error has occured on host $mnethostid: " .
|
||||||
join("\n", $mnet_request->error));
|
join("\n", $mnet_request->error));
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$query = "SELECT
|
$query = "SELECT
|
||||||
|
|||||||
Reference in New Issue
Block a user