Skip to content

Commit

Permalink
perf(#9642): upgrade CouchDb to v3.4.2 (#9651)
Browse files Browse the repository at this point in the history
set `changes_doc_ids_optimization_threshold` a high value

#9642
  • Loading branch information
dianabarsan authored Nov 26, 2024
1 parent 45bb8e1 commit 5d4634a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions couchdb/10-docker-default.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ os_process_timeout = 60000
max_dbs_open = 5000
attachment_stream_buffer_size = 16384
max_document_size = 4294967296 ; 4 GB
changes_doc_ids_optimization_threshold = 40000

[chttpd]
port = 5984
Expand Down
2 changes: 1 addition & 1 deletion couchdb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM couchdb:3.3.3 as base_couchdb_build
FROM couchdb:3.4.2 as base_couchdb_build

COPY --chown=couchdb:couchdb 10-docker-default.ini /opt/couchdb/etc/default.d/
COPY --chown=couchdb:couchdb vm.args /opt/couchdb/etc/
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/api/routing.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ describe('routing', () => {
if (idx === 0) {
// online user request
expect(result.limit).to.equal(1);
expect(result.fields).to.equal('all_fields');
expect(result.fields).to.deep.equal([]);
} else {
// offline user requests
expect(result.statusCode).to.equal(403);
Expand Down

0 comments on commit 5d4634a

Please sign in to comment.