fix restart delay

This commit is contained in:
Rizky
2024-08-15 06:05:01 +07:00
parent 02239da2e2
commit bc2a454bd0
2 changed files with 2 additions and 5 deletions
+2 -1
View File
@@ -70,9 +70,10 @@ export const createServer = async () => {
process.exit();
}
});
await ensureNotRunning();
}
await ensureNotRunning();
g.server = Bun.serve({
port: g.port,
maxRequestBodySize: 1024 * 1024 * 128,