mirror of https://gitee.com/bigwinds/arangodb
changelog (#6815)
This commit is contained in:
parent
676f61805e
commit
b0cf8be2d4
|
@ -1,5 +1,9 @@
|
||||||
devel
|
devel
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
* fix internal issue #2957: the Web UI was not able to display more than 1000
|
||||||
|
documents, even when it was set to a higher amount.
|
||||||
|
|
||||||
* dynamically manage libcurl's number of open connections to increase performance
|
* dynamically manage libcurl's number of open connections to increase performance
|
||||||
by reducing the number of socket close and then reopen cycles
|
by reducing the number of socket close and then reopen cycles
|
||||||
|
|
||||||
|
|
|
@ -183,10 +183,16 @@
|
||||||
var bindVars;
|
var bindVars;
|
||||||
var tmp;
|
var tmp;
|
||||||
var queryObj;
|
var queryObj;
|
||||||
|
|
||||||
|
var pageSize = this.getPageSize();
|
||||||
|
if (pageSize === 'all') {
|
||||||
|
pageSize = this.MAX_SORT + 38000; // will result in 50k docs
|
||||||
|
}
|
||||||
|
|
||||||
bindVars = {
|
bindVars = {
|
||||||
'@collection': this.collectionID,
|
'@collection': this.collectionID,
|
||||||
'offset': this.getOffset(),
|
'offset': this.getOffset(),
|
||||||
'count': this.getPageSize()
|
'count': pageSize
|
||||||
};
|
};
|
||||||
|
|
||||||
// fetch just the first 25 attributes of the document
|
// fetch just the first 25 attributes of the document
|
||||||
|
@ -215,7 +221,8 @@
|
||||||
|
|
||||||
queryObj = {
|
queryObj = {
|
||||||
query: query,
|
query: query,
|
||||||
bindVars: bindVars
|
bindVars: bindVars,
|
||||||
|
batchSize: pageSize
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.filters.length > 0) {
|
if (this.filters.length > 0) {
|
||||||
|
|
Loading…
Reference in New Issue