Created
May 16, 2018 19:27
-
-
Save sf-mrichter/e0a3d9207d3a74d1d1a1fdeb1c0039eb to your computer and use it in GitHub Desktop.
Diff between our modified local.ini and the original distribution local.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[solarflare@localhost ~]$ sudo diff -uw /opt/couchdb/etc/local.ini* | more | |
--- /opt/couchdb/etc/local.ini 2018-05-16 15:16:42.497615158 -0400 | |
+++ /opt/couchdb/etc/local.ini.orig 2017-11-07 17:57:46.000000000 -0500 | |
@@ -5,10 +5,8 @@ | |
; overwritten on server upgrade. | |
[couchdb] | |
-delayed_commits = true | |
;max_document_size = 4294967296 ; bytes | |
;os_process_timeout = 5000 | |
-uuid = 7bcbf40eb707eaccc437c788e3509ac9 | |
[couch_peruser] | |
; If enabled, couch_peruser ensures that a private per-user database | |
@@ -21,22 +19,13 @@ | |
;delete_dbs = true | |
[chttpd] | |
-port = 5984 | |
-bind_address = 127.0.0.1 | |
+;port = 5984 | |
+;bind_address = 127.0.0.1 | |
; Options for the MochiWeb HTTP server. | |
;server_options = [{backlog, 128}, {acceptor_pool_size, 16}] | |
; For more socket options, consult Erlang's module 'inet' man page. | |
;socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}] | |
-[database_compaction] | |
-; larger buffer sizes can originate smaller files | |
-doc_buffer_size = 524288 ; value in bytes | |
-checkpoint_after = 5242880 ; checkpoint after every N bytes were written | |
- | |
-[view_compaction] | |
-; larger buffer sizes can originate smaller files | |
-keyvalue_buffer_size = 2097152 ; value in bytes | |
- | |
[httpd] | |
; NOTE that this only configures the "backend" node-local port, not the | |
; "frontend" clustered port. You probably don't want to change anything in | |
@@ -75,7 +64,6 @@ | |
; enable SSL support by uncommenting the following line and supply the PEM's be | |
low. | |
; the default ssl port CouchDB listens on is 6984 | |
; httpsd = {chttpd, start_link, [https]} | |
-compaction_daemon={couch_compaction_daemon, start_link, []} | |
[ssl] | |
;cert_file = /full/path/to/server_cert.pem | |
@@ -115,19 +103,6 @@ | |
[update_notification] | |
;unique notifier name=/full/path/to/exe -with "cmd line arg" | |
-[httpd_db_handlers] | |
-_compact = {couch_httpd_db, handle_compact_req} | |
- | |
-[httpd_design_handlers] | |
-_compact = {couch_mrview_http, handle_compact_req} | |
- | |
-[compaction_daemon] | |
-check_interval = 3600 | |
-min_file_size = 131072 | |
- | |
-[compactions] | |
-_default = [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}, {from, "23: | |
00"}, {to, "22:55"}] | |
- | |
; To create an admin account uncomment the '[admins]' section below and add a | |
; line in the format 'username = password'. When you next start CouchDB, it | |
; will change the password to a hash (so that your passwords don't linger | |
@@ -135,11 +110,4 @@ | |
; 'username = password' lines. Don't forget to restart CouchDB after | |
; changing this. | |
[admins] | |
-admin = -pbkdf2-cf4d37625baa45089902ca1733a367fac5963f8d,a9b82e85120a7e5367025e | |
cf9f5defbc,10 | |
- | |
-[log] | |
-writer = file | |
-file = ./couchdb.log | |
-write_buffer = 131072 | |
-write_delay = 100 | |
-level = error | |
+;admin = mysecretpassword | |
[solarflare@localhost ~]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment