Gremlin python trying to connect Neptune WS when is down

Im trying to capture and control the exception when the database is down with gremlin but instead the queries or writers wait to max time limit, in this case lambda timeout, to report a problem, someone know how to set a time limit when this happen to avoid to use all time of a lambda timeout to close the connection?
Imagen_de_WhatsApp_2025-02-10_a_las_17.35.09_6ff8ef05.jpg
Was this page helpful?