timeout disabled for tests

This commit is contained in:
Massimiliano Pinto 2012-11-21 16:21:20 +01:00
parent efcd6aaf48
commit 9b756500c5
2 changed files with 2 additions and 3 deletions

1
README
View File

@ -1 +0,0 @@
SkySqlGateway

View File

@ -271,7 +271,7 @@ static int mysql_connect(char *host, int port, char *dbname, char *user, char *p
rv = apr_socket_opt_set(socket, APR_TCP_NODELAY, 1);
rv = apr_socket_opt_set(socket, APR_SO_NONBLOCK , 0);
apr_socket_timeout_set(socket, 355000);
//apr_socket_timeout_set(socket, 355000);
if ((rv = apr_socket_connect(socket, connessione)) != APR_SUCCESS) {
apr_strerror(rv, errmesg, sizeof(errmesg));
@ -1108,7 +1108,7 @@ static void * create_skysql_config(apr_pool_t *p, server_rec *s) {
ps->protocol_enabled = 0;
ps->pool_enabled = 0;
ps->resources = apr_hash_make(p);
ps->loop_timeout = 90;
ps->loop_timeout = 300;
return ps;
}