Skip to content

Commit 1cb373a

Browse files
authored
repo sync
2 parents 0642c8a + a66fc72 commit 1cb373a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

server.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ if (!module.parent) {
2121
// If in a true production environment, wait for the cache to be fully warmed.
2222
if (process.env.HEROKU_PRODUCTION_APP || process.env.GITHUB_ACTIONS) {
2323
await warmServer()
24-
} else {
25-
// If not in a true production environment, don't wait for the cache to be fully warmed.
26-
// This avoids deployment timeouts in environments with slower servers.
27-
warmServer()
2824
}
2925
}
3026

0 commit comments

Comments
 (0)