api/db: allow the connection pool to grow quite large

This is not something we can easily control otherwise.
1 files changed, 1 insertions(+), 1 deletions(-)

M tshistory/api.py
M tshistory/api.py +1 -1
@@ 69,7 69,7 @@ class dbtimeseries:
                  othersources=None):
         self.uri = uri
         self.namespace = namespace
-        self.engine = create_engine(uri)
+        self.engine = create_engine(uri, max_overflow=100)
         self.tsh = tshclass(namespace, othersources)
         self.othersources = othersources