diff --git a/ch_util/_db_tables.py b/ch_util/_db_tables.py index 429ae9de..0c977e61 100644 --- a/ch_util/_db_tables.py +++ b/ch_util/_db_tables.py @@ -139,7 +139,7 @@ def event( # ==================================== -def connect_peewee_tables(read_write=False, reconnect=False, ntries=1): +def connect_peewee_tables(read_write=False, reconnect=False): """Initialize the connection to the CHIME data index database. This function uses the current database connector from @@ -156,7 +156,7 @@ def connect_peewee_tables(read_write=False, reconnect=False, ntries=1): Force a reconnection. """ - chimedb.core.connect(read_write, reconnect, ntries) + chimedb.core.connect(read_write, reconnect) # Set the default, no-permissions user. set_user("Chime") diff --git a/ch_util/finder.py b/ch_util/finder.py index af3851ac..d01dcb66 100644 --- a/ch_util/finder.py +++ b/ch_util/finder.py @@ -239,7 +239,7 @@ class Finder(object): # Constructors and setup # ---------------------- - def __init__(self, acqs=(), node_spoof=None, ntries=1): + def __init__(self, acqs=(), node_spoof=None): import copy # Which nodes do we have available? @@ -247,7 +247,7 @@ def __init__(self, acqs=(), node_spoof=None, ntries=1): self._my_node = [] self._node_spoof = node_spoof - connect_database(ntries=ntries) + connect_database() if not node_spoof: for n in (