mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-03-17 21:31:42 +01:00
test
This commit is contained in:
parent
37b92329ba
commit
071deccbd7
@ -29,9 +29,10 @@ export class StratumV1Service implements OnModuleInit {
|
||||
}
|
||||
|
||||
async onModuleInit(): Promise<void> {
|
||||
|
||||
console.log(`Enable Solo: ${process.env.ENABLE_SOLO}`)
|
||||
if (process.env.ENABLE_SOLO == 'true') {
|
||||
//await this.clientStatisticsService.deleteAll();
|
||||
console.log(`NODE_APP_INSTANCE: ${process.env.NODE_APP_INSTANCE}`)
|
||||
if (process.env.NODE_APP_INSTANCE == '0') {
|
||||
await this.clientService.deleteAll();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user