adrienverge commented on issue #1880: Compaction: Allow snooze_period to be a 
float
URL: https://github.com/apache/couchdb/pull/1880#issuecomment-458223134
 
 
   Hi @wohali, thanks for your guidance on that.
   
   Unfortunately `make check` doesn't work for me (even on master), it says 
*HTTP API was disabled at compile time* (done with `./configure --disable-docs 
&& make clean && make check`).
   
   But compiling and running it myself helped me finding the causes:
   - `config:get_float()` expects a float **for the default value** (but 
accepts an integer or a float as primary value),
   - `timer:sleep()` expects an integer.
   
   I've modified this commit to fix that, and tested compiled CouchDB with 
different values (floats and integers): it works (I've also checked that these 
values are correctly read, using `curl -u root:password 
localhost:15984/_node/_local/_config | grep -o snooze_period.:....`)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to