lsst-uk / lasair-lsst

Apache License 2.0
0 stars 0 forks source link

Increase Cassandra client timeout #208

Open gpfrancis opened 1 week ago

gpfrancis commented 1 week ago

In gkdbutils/ingesters/cassandra/ingestGenericDatabaseTable.py we should set a timeout when calling execute_async. Suggest increasing this to 30s (default is 10), but might need more testing to identify the best value.

gpfrancis commented 6 days ago

The timeout is set in gkdbutils/ingesters/cassandra/ingestGenericDatabaseTable.py line 234, which should read something like:

            futures.append(session.execute_async(sql, tuple(values), timeout=30))