syntax for changing httpd socket_options on the fly

2014-02-26 Thread Dave Benson
I'd like to set "nodelay" on our couchdb -- but i haven't found a syntax that works. curl -X PUT http://localhost:5984/_config/httpd/socket_options -d '[{"nodelay": true}]' (the most obvious thing) gives a {"error":"unknown_error","reason":"badarg"} response. ideas?

Re: overwrite document without revision?

2013-11-08 Thread Dave Benson
Couldn't you just store the _rev in your database? If data is coming from a centralized server, there should be no chance of conflicts. And if you do get conflicts, you ought to resolve them properly (ie by making sure the latest revision in your main database and in couchdb are the same). On F

Re: function_clause error when changing table design

2013-05-16 Thread Dave Benson
h the module doesn't support that size. odd... On Wed, May 15, 2013 at 1:33 PM, Dave Benson wrote: > I'm having a lot of trouble seeing why this isn't working. I'm a little > uncertain about how parameterized modules are supposed to show up in a > stack-t

function_clause error when changing table design

2013-05-15 Thread Dave Benson
I'm having a lot of trouble seeing why this isn't working. I'm a little uncertain about how parameterized modules are supposed to show up in a stack-trace, but this seems reasonable. I don't see how mochiweb_request:get(scheme) could possibly be a function_clause problem... and inserting a catch