fix(settings, yjs, ux, ci): default settings, y-leveldb restart resilience, dashboard one-click open, delete error handling, Playwright CI

This commit is contained in:
2026-07-27 03:15:30 +02:00
parent 7f8695456c
commit 126277ab94
13 changed files with 129 additions and 45 deletions
+6 -7
View File
@@ -25,16 +25,15 @@ async function main() {
}
// Graceful shutdown
process.on('SIGTERM', async () => {
const shutdown = async (signal: string) => {
console.log(`Received ${signal}, shutting down gracefully...`);
await fastify.close();
await closeYjsPersistence();
db.close();
process.exit(0);
});
process.on('SIGINT', async () => {
await fastify.close();
db.close();
process.exit(0);
});
};
process.on('SIGTERM', () => shutdown('SIGTERM'));
process.on('SIGINT', () => shutdown('SIGINT'));
}
main();