Authored by 於志远

取消memcache每次的检查server

... ... @@ -29,6 +29,10 @@ class Util_Server_Adapter_CheckServer {
* @return bool
*/
public static function check( $host, $port = '3306', $type = 'db') {
if('memcache' == $type){
return true;
}
if( empty ($host) || empty ($port) || empty ($type) ) {
throw new Util_Server_Exception ('下列参数不合法: host:'.$host.' port:'.$port.' type:'.$type );
}
... ...