xata-py
xata-py copied to clipboard
ConnectionError on XataClient.data().query()
I have a script that runs every minute that reads data from a table with XataClient.data().query(), and randomly, when making said query, it will throw a ConnectionError with the following message: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)). Sometimes I would get the error every few minutes, sometimes it would be hours before it throws the error again.
A week ago, I only got this error like 3 to 5 times a day. Now, I'm starting to get at least a dozen of them per day