mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
remove server start delay
This commit is contained in:
@@ -35,9 +35,8 @@ export class StratumV1Service implements OnModuleInit {
|
|||||||
if (process.env.NODE_APP_INSTANCE == '0') {
|
if (process.env.NODE_APP_INSTANCE == '0') {
|
||||||
await this.clientService.deleteAll();
|
await this.clientService.deleteAll();
|
||||||
}
|
}
|
||||||
setTimeout(() => {
|
|
||||||
this.startSocketServer();
|
this.startSocketServer();
|
||||||
}, 1000 * 10)
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user