Extending Session Timeout Duration

I have resolved the issue by defining the CouchDB session timeout
I ran this command

curl -X PUT http://admin:yourpassword@localhost:5984/_node/_local/_config/couch_httpd_auth/timeout -d ‘“28800”’

28800 is 8 hours in seconds.
Verified after setting the timeout by running this command;

curl http://admin:yourpassword@localhost:5984/_node/_local/_config/couch_httpd_auth

1 Like