removed NODE_APP_INSTANCE 0 dependency

This commit is contained in:
Benjamin Wilson
2024-09-09 20:18:37 -04:00
parent fb8715c23d
commit 9db0afd9df
7 changed files with 31 additions and 26 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export class StratumV1Service implements OnModuleInit {
async onModuleInit(): Promise<void> {
if (process.env.NODE_APP_INSTANCE == '0') {
if (process.env.MASTER == 'true') {
await this.clientService.deleteAll();
}
setTimeout(() => {