This is an automated email from the ASF dual-hosted git repository.

dubeejw pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-openwhisk-package-kafka.git


The following commit(s) were added to refs/heads/master by this push:
     new 7752ad3  renew client connection when token expires (#246)
7752ad3 is described below

commit 7752ad3fbcf92249d3e1816085aa58aa79ba9f9a
Author: Adnan Baruni <abar...@users.noreply.github.com>
AuthorDate: Thu Feb 1 11:36:18 2018 -0600

    renew client connection when token expires (#246)
---
 provider/database.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/provider/database.py b/provider/database.py
index 68ee8a3..817f3a7 100644
--- a/provider/database.py
+++ b/provider/database.py
@@ -43,7 +43,7 @@ class Database:
     canaryId = "canary-{}".format(instance)
 
     def __init__(self, timeout=None):
-        self.client = CouchDB(self.username, self.password, url=self.url, 
timeout=timeout)
+        self.client = CouchDB(self.username, self.password, url=self.url, 
timeout=timeout, auto_renew=True)
         self.client.connect()
 
         if self.dbname in self.client.all_dbs():

-- 
To stop receiving notification emails like this one, please contact
dube...@apache.org.

Reply via email to