better unsubscribe, startup stagger

This commit is contained in:
Ben Wilson
2023-08-05 09:57:39 -04:00
parent fe677b88f8
commit b2f5cb5806
4 changed files with 19 additions and 16 deletions
+2
View File
@@ -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;
}