Remove unused variable
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 17 Jul 2013 10:53:53 +0000 (12:53 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 17 Jul 2013 10:53:53 +0000 (12:53 +0200)
debian/changelog
etc/default.xml
perf/bash/pp2client.sh
src/pazpar2_config.c

index b6fec63..3fe94af 100644 (file)
@@ -1,6 +1,12 @@
-pazpar2 (1.6.32-1indexdata) unstable; urgency=low
+pazpar2 (1.6.32-3indexdata) unstable; urgency=low
 
-  * Upstream.
+  * More logging for HTTP activity.
+
+ -- Adam Dickmeiss <adam@indexdata.dk>  Fri, 12 Jul 2013 11:43:51 +0200
+
+pazpar2 (1.6.32-2indexdata) unstable; urgency=low
+
+  * Log socket ID for HTTP request/response.
 
  -- Adam Dickmeiss <adam@indexdata.dk>  Fri, 14 Jun 2013 10:50:14 +0200
 
index 66312dd..14dea66 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <service  xmlns="http://www.indexdata.com/pazpar2/1.0">
   <timeout session="60" z3950_operation="30" z3950_session="180"/>
-  <settings src="settings/testserver.xml"/>
+  <settings src="settings/many.xml"/>
   
   <icu_chain id="relevance" locale="en">
     <transform rule="[:Control:] Any-Remove"/>
index 03b0421..50e8a67 100755 (executable)
@@ -82,20 +82,15 @@ if [ -n "$SETTINGS" ] ; then
     fi
 fi
 
-if [ "$TIME" != "" ] ; then
-    /usr/bin/time --format "$OF, search, %e" wget -q -O ${TMP_DIR}$OF.search.xml "$H?command=search&query=$QUERY&session=$S" 2> ${TMP_DIR}$OF.search.time
-else
-    wget -q -O ${TMP_DIR}$OF.search.xml "$H?command=search&query=$QUERY&session=$S"
-fi
-sleep 1
-if [ "$TIME" != "" ] ; then
-    /usr/bin/time --format "$OF, show, %e" wget -q -O ${TMP_DIR}$OF.show.xml "$H?command=show&session=$S&sort=relevance&start=0&num=100&block=1" 2> ${TMP_DIR}$OF.show.time
-else
-    wget -q -O ${TMP_DIR}$OF.show.xml "$H?command=show&session=$S&sort=relevance&start=0&num=100&block=1"
-fi
-wget -q -O ${TMP_DIR}$OF.bytarget.xml "$H?command=bytarget&session=$S"
-wget -q -O ${TMP_DIR}$OF.stat.xml "$H?command=stat&session=$S"
-wget -q -O ${TMP_DIR}$OF.info.xml "$H?command=info"
+/usr/bin/time --format "$OF, search, %e" wget -q -O ${TMP_DIR}$OF.search.xml "$H?command=search&query=$QUERY&session=$S" 2> ${TMP_DIR}$OF.search.time
+
+i=1
+while test $i -lt 20; do
+    sleep 3
+    /usr/bin/time --format "$OF, show, %e" wget -q -O ${TMP_DIR}$OF.show$i.xml "$H?command=show&session=$S&sort=relevance&start=0&num=100&block=1&round=$i" 2> ${TMP_DIR}$OF.show$i.time
+    i=`expr $i + 1`
+done
+wget -q -O exit.xml "$H?command=exit"
 exit 0
 
 # Local Variables:
index e3f99b8..79e7ad2 100644 (file)
@@ -1127,7 +1127,6 @@ void info_services(struct conf_server *server, WRBUF w)
     struct conf_service *s = server->service;
     int i;
     struct setting *S;
-    struct database *db;
 
     wrbuf_puts(w, " <services>\n");
     for (; s; s = s->next)