Skip to content

Commit 82ba507

Browse files
prevent error loop
1 parent ebb99a6 commit 82ba507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/start.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if (cluster.isPrimary) {
6060
if (code === 0) {
6161
return 365 * 24 * 60 * 60 * 1000; // 1 vuosi
6262
} else {
63-
return 30 * 1000; // 30 sekuntia
63+
return 365 * 24 * 60 * 60 * 1000; // 1 vuosi
6464
}
6565
},
6666
onExit: (code: number) => {

0 commit comments

Comments
 (0)