Skip to content

Commit

Permalink
Merge pull request #2228 from apache/update-couchdb-defaults
Browse files Browse the repository at this point in the history
Update default config settings
  • Loading branch information
rnewson authored Oct 4, 2019
2 parents 75e4736 + 84680cf commit b5c179b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rel/overlay/etc/default.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ changes_doc_ids_optimization_threshold = 100
; due to variabiliy in what is escaped or how floats are encoded, this limit is
; applied conservatively. For example 1.0e+16 could be encoded as 1e16, so 4 used
; for size calculation instead of 7.
;max_document_size = 4294967296 ; bytes
max_document_size = 8000000 ; bytes
;
; Maximum attachment size.
; max_attachment_size = infinity
Expand Down Expand Up @@ -88,7 +88,7 @@ default_engine = couch
couch = couch_bt_engine

[cluster]
q=8
q=2
n=3
; placement = metro-dc-a:2,metro-dc-b:1

Expand Down
2 changes: 1 addition & 1 deletion src/couch/src/couch_multidb_changes.erl
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ t_find_shard() ->
?_test(begin
DbName = ?tempdb(),
ok = fabric:create_db(DbName, [?CTX]),
?assertEqual(8, length(local_shards(DbName))),
?assertEqual(2, length(local_shards(DbName))),
fabric:delete_db(DbName, [?CTX])
end).

Expand Down

0 comments on commit b5c179b

Please sign in to comment.