We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85ddb82 commit a66fc72Copy full SHA for a66fc72
1 file changed
server.js
@@ -21,10 +21,6 @@ if (!module.parent) {
21
// If in a true production environment, wait for the cache to be fully warmed.
22
if (process.env.HEROKU_PRODUCTION_APP || process.env.GITHUB_ACTIONS) {
23
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()
28
}
29
30
0 commit comments