improve(api): ensure we do 3 attempts to add events to the queue
This commit is contained in:
@@ -27,6 +27,11 @@ export async function createSessionEnd({
|
||||
{
|
||||
delay: SESSION_TIMEOUT,
|
||||
jobId: getSessionEndJobId(payload.projectId, payload.deviceId),
|
||||
attempts: 3,
|
||||
backoff: {
|
||||
type: 'exponential',
|
||||
delay: 200,
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user