X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Fapi%2Ftestlib.c;h=a068375fc2bc8496eead7dbe6bba32ce4cf96088;hb=79378ee88d2008df7b2f067561d7df0eb2436862;hp=84e7b73ce72df147d3b88f96a28d9543ba2cfabe;hpb=ecb3935e78cd9bcfdebafdee0834cfb1060d7b5e;p=idzebra-moved-to-github.git diff --git a/test/api/testlib.c b/test/api/testlib.c index 84e7b73..a068375 100644 --- a/test/api/testlib.c +++ b/test/api/testlib.c @@ -1,4 +1,4 @@ -/* $Id: testlib.c,v 1.32 2006-05-10 08:13:35 adam Exp $ +/* $Id: testlib.c,v 1.34 2006-08-09 13:22:49 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -76,8 +76,8 @@ ZebraService tl_start_up(char *cfgname, int argc, char **argv) #if HAVE_SYS_RESOURCE_H #if HAVE_SYS_TIME_H struct rlimit rlim; - rlim.rlim_cur = 20; - rlim.rlim_max = 20; + rlim.rlim_cur = 60; + rlim.rlim_max = 60; setrlimit(RLIMIT_CPU, &rlim); #endif #endif @@ -176,6 +176,8 @@ int tl_query_x(ZebraHandle zh, const char *query, zint exphits, int experror) yaz_pqf_destroy(parser); if (!rpn) { + yaz_log(log_level, "could not parse pqf query %s\n", query); + printf("could not parse pqf query %s\n", query); odr_destroy(odr); return 0; }