code refactor

This commit is contained in:
g1nt0ki
2023-12-21 20:10:39 +01:00
parent c4cbed7e8a
commit a180b82f06
4 changed files with 59 additions and 269 deletions

View File

@@ -16,7 +16,8 @@ const { PromisePool } = require('@supercharge/promise-pool')
Object.keys(process.env).forEach((key) => {
if(key.endsWith('_RPC')) return;
process.env[key] = '******'
if (['TVL_LOCAL_CACHE_ROOT_FOLDER'].includes(key) || key.includes('SDK')) return;
delete process.env[key]
})
const locks = [];