mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 17:15:03 -07:00
better unsubscribe, startup stagger
This commit is contained in:
@@ -56,6 +56,8 @@ export class ClientService {
|
||||
|
||||
const client = this.clientRepository.create(partialClient);
|
||||
this.bulkInsertClients.push(client);
|
||||
// wait for the bulk insert to go though
|
||||
// while we await node is free to service other requests
|
||||
await setTimeout(2000);
|
||||
return client;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user