From: Dennis Schafroth Date: Fri, 25 Nov 2011 13:01:34 +0000 (+0100) Subject: Removed show hack X-Git-Tag: v1.6.6~3 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=623e44e53759f90d04a14b0ad7243ac2f816ba41;p=pazpar2-moved-to-github.git Removed show hack --- diff --git a/src/http_command.c b/src/http_command.c index 2809989..e0921e8 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -1035,8 +1035,6 @@ static void show_records_ready(void *data) show_records(c, -1); } -int show_count = 0; - static void cmd_show(struct http_channel *c) { struct http_request *rq = c->request; @@ -1088,7 +1086,6 @@ static void cmd_show(struct http_channel *c) // if there is already a watch/block. we do not block this one if (session_set_watch(s->psession, SESSION_WATCH_SHOW, show_records_ready, c, c) != 0 -// || (++show_count % 6 == 0) ) { yaz_log(YLOG_WARN, "Attempt to block multiple times on show block. Not supported!");