X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fpazpar2_config.c;h=4762aa5a35b03fd9b7743ee18b8082f64d6b61f9;hb=6639c716d02ad6117ae6053ca18160dbb21a404a;hp=959bfcb28f6e8512be9decda26f39ab81c98495f;hpb=298428237ab753a1644549f9c9c88feeb90d5919;p=pazpar2-moved-to-github.git diff --git a/src/pazpar2_config.c b/src/pazpar2_config.c index 959bfcb..4762aa5 100644 --- a/src/pazpar2_config.c +++ b/src/pazpar2_config.c @@ -131,7 +131,7 @@ static struct conf_service *service_init(struct conf_server *server, service->server = server; service->session_timeout = 60; /* default session timeout */ service->z3950_session_timeout = 180; - service->z3950_connect_timeout = 15; + service->z3950_operation_timeout = 30; service->relevance_pct = 0; service->sort_pct = 0; @@ -481,14 +481,14 @@ static struct conf_service *service_create_static(struct conf_server *server, return 0; } } - src = xmlGetProp(n, (xmlChar *) "z3950_connect"); + src = xmlGetProp(n, (xmlChar *) "z3950_operation"); if (src) { - service->z3950_connect_timeout = atoi((const char *) src); + service->z3950_operation_timeout = atoi((const char *) src); xmlFree(src); if (service->z3950_session_timeout < 9) { - yaz_log(YLOG_FATAL, "Z39.50 connect timeout out of range"); + yaz_log(YLOG_FATAL, "Z39.50 operation timeout out of range"); return 0; } }