diff --git a/services/clsi/config/settings.defaults.js b/services/clsi/config/settings.defaults.js index e32815ae44..0f4111dc62 100644 --- a/services/clsi/config/settings.defaults.js +++ b/services/clsi/config/settings.defaults.js @@ -1,11 +1,10 @@ const Path = require('node:path') -const os = require('node:os') const http = require('node:http') const https = require('node:https') http.globalAgent.keepAlive = false https.globalAgent.keepAlive = false -const isPreEmptible = os.hostname().includes('pre-emp') +const isPreEmptible = process.env.PREEMPTIBLE === 'TRUE' module.exports = { compileSizeLimit: process.env.COMPILE_SIZE_LIMIT || '7mb',