From: Adam Dickmeiss Date: Mon, 1 Aug 2011 20:22:57 +0000 (+0200) Subject: zoom: honor piggyback setting X-Git-Tag: v1.3.4~1 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=9f6426850c666fe89ac56d7d0e4fe445d4a5842e;p=metaproxy-moved-to-github.git zoom: honor piggyback setting Makes some SRU targets behave that insist on maximumRecords > 0, but also increases performance. --- diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index 1c2ff9a..8d623d4 100644 --- a/src/filter_zoom.cpp +++ b/src/filter_zoom.cpp @@ -738,6 +738,9 @@ yf::Zoom::BackendPtr yf::Zoom::Frontend::get_backend_from_databases( if (m_p->apdu_log) b->set_option("apdulog", "1"); + if (sptr->piggyback) + b->set_option("count", "10"); + std::string authentication = sptr->authentication; std::string proxy = sptr->cfProxy;