Skip to content

Commit

Permalink
Defaults for fullsync and mmap
Browse files Browse the repository at this point in the history
Ported from master
LiteCore update
  • Loading branch information
velicuvlad authored Oct 16, 2024
2 parents 08e3ef3 + c6c4f4c commit 1755d39
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions gen_defaults/cbl-defaults.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
{
"Database": {
"long_name": "DatabaseConfiguration",
"constants": [
{
"name": "FullSync",
"value": false,
"type": {
"id": "boolean",
"subset": "system"
},
"description": "Full sync is off by default because the performance hit is seldom worth the benefit"
},
{
"name": "MmapEnabled",
"value": true,
"type": {
"id": "boolean",
"subset": "system"
},
"description": "Memory mapped database files are disabled by default. Always disabled for macOS.",
"only_on": ["objc", "swift", "java", "csharp"]
}
]
},
"LogFile": {
"long_name": "LogFileConfiguration",
"constants": [
Expand Down
2 changes: 1 addition & 1 deletion vendor/couchbase-lite-core

0 comments on commit 1755d39

Please sign in to comment.