feat: improved api desc, added ping check before accepting stream

This commit is contained in:
Akhil Mohan
2024-05-03 00:23:59 +05:30
parent 387c899193
commit d650fd68c0
5 changed files with 44 additions and 10 deletions
@@ -24,7 +24,7 @@ export type TAuditLogQueueServiceFactory = ReturnType<typeof auditLogQueueServic
// keep this timeout 5s it must be fast because else the queue will take time to finish
// audit log is a crowded queue thus needs to be fast
const AUDIT_LOG_STREAM_TIMEOUT = 5 * 1000;
export const AUDIT_LOG_STREAM_TIMEOUT = 5 * 1000;
export const auditLogQueueServiceFactory = ({
auditLogDAL,
queueService,