8000 do not restrict AQL cursor garbage collection too much (#19993) · SwathyPraveen/arangodb@beb4daa · GitHub
[go: up one dir, main page]

Skip to content

Commit beb4daa

Browse files
authored
do not restrict AQL cursor garbage collection too much (arangodb#19993)
otherwise it may have trouble keeping up with foreground query work.
1 parent 58b191b commit beb4daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arangod/Utils/CursorRepository.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class CursorRepository {
9797
Cursor* addCursor(std::unique_ptr<Cursor> cursor);
9898

9999
/// @brief maximum number of cursors to garbage-collect in one go
100-
static constexpr size_t maxCollectCount = 32;
100+
static constexpr size_t maxCollectCount = 1024;
101101

102102
TRI_vocbase_t& _vocbase;
103103

0 commit comments

Comments
 (0)
0