change couchdb/config
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
[chttpd]
|
||||
require_valid_user = false
|
||||
admin_only_all_dbs = true
|
||||
server_header_versions = false
|
||||
@@ -1,2 +1,4 @@
|
||||
[chttpd_auth]
|
||||
timeout = 315362081
|
||||
users_db_public = false
|
||||
; public_fields = publicInfo
|
||||
@@ -0,0 +1,9 @@
|
||||
[database_compaction]
|
||||
doc_buffer_size = 524288
|
||||
|
||||
[database_compaction]
|
||||
checkpoint_after = 5242880
|
||||
|
||||
[view_compaction]
|
||||
keyvalue_buffer_size = 2097152
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
[_node/_local/chttpd]
|
||||
[httpd]
|
||||
enable_cors = true
|
||||
|
||||
[_node/_local/cors]
|
||||
; Changed in version 3.2: moved from [httpd] to [chttpd] section
|
||||
[chttpd]
|
||||
enable_cors = true
|
||||
|
||||
[cors]
|
||||
headers = accept, authorization, content-type, origin, referer
|
||||
methods = GET, PUT, POST, HEAD, DELETE
|
||||
credentials = true
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
[couchdb]
|
||||
single_node=true
|
||||
file_compression = snappy
|
||||
@@ -0,0 +1,2 @@
|
||||
[log]
|
||||
level = warning
|
||||
@@ -0,0 +1,2 @@
|
||||
[couchdb]
|
||||
max_dbs_open = 10000
|
||||
@@ -0,0 +1,2 @@
|
||||
[uuids]
|
||||
algorithm = random
|
||||
@@ -0,0 +1,3 @@
|
||||
[vendor]
|
||||
name = HereConnect API Server
|
||||
version = 1.0.0
|
||||
Reference in New Issue
Block a user