We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0642c8a + a66fc72 commit 1cb373aCopy full SHA for 1cb373a
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