S Fasi
DTDrizzle Team
•Created by S Fasi on 7/29/2024 in #help
How to test the connection & cleanup on shutdown
I'm using drizzle in an express server, I have cleanup code listening for
SIGTERM
and SIGINT
that will close the server, how can I tell drizzle to close all the connections to the database? And while I'm at it I would like to test the connection as soon as the server starts, because we are using AWS managed database. I would like to know if I can connect from this server to the database, if not then there is no point in running the server.4 replies