Reading legacy code is always fun. Opening database connection in function that does one query is something you wouldn't expect in nodejs http server. Actually most of them (functions) are written like that :thinking_fire:

Sign in to participate in the conversation

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!