psycopg.OperationalError: consuming input failed: SSL SYSCALL error: EOF detected
I'm running some tasks which are actually taking more time than five minutes and I've already established connection with NeonDB(Postgres) as it's serverless when i use cursor.query it's throwing me error
Output is as below:
It took almost 16m, Even though sleep is for just five and a half minute, As cursor.query() might be trying and trying for connection
What can i do to avoid this issue ?
psycopg.OperationalError: consuming input failed: SSL SYSCALL error: EOF detected, I'm using below codeOutput is as below:
It took almost 16m, Even though sleep is for just five and a half minute, As cursor.query() might be trying and trying for connection
What can i do to avoid this issue ?
