projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd2f40f
)
zoom: honor piggyback setting
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 1 Aug 2011 20:22:57 +0000
(22:22 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 1 Aug 2011 20:22:57 +0000
(22:22 +0200)
Makes some SRU targets behave that insist on maximumRecords > 0,
but also increases performance.
src/filter_zoom.cpp
patch
|
blob
|
history
diff --git
a/src/filter_zoom.cpp
b/src/filter_zoom.cpp
index
1c2ff9a
..
8d623d4
100644
(file)
--- 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;