We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d8dd37 commit 31b4963Copy full SHA for 31b4963
packages/backend/src/postgres.ts
@@ -212,7 +212,7 @@ export const entities = [
212
...charts,
213
];
214
215
-const log = false;
+const log = process.env.NODE_ENV !== 'production';
216
const timeoutFinalizationRegistry = new FinalizationRegistry((reference: { name: string; timeout: NodeJS.Timeout }) => {
217
dbLogger.info(`Finalizing timeout: ${reference.name}`);
218
clearInterval(reference.timeout);
0 commit comments