chore: add business logic
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export const SUBSCRIPTIONS = Object.freeze({
|
||||
PROVISIONING_QUEUE_PREFIX: "provisioning",
|
||||
PROVISIONING_QUEUE_NAME: "provisioning",
|
||||
PROVISIONING_JOB_NAME: "business.created",
|
||||
|
||||
PROVISIONING_JOB_DELAY: 1000,
|
||||
PROVISIONING_JOB_PRIORITY: 1, // high priority
|
||||
PROVISIONING_JOB_ATTEMPTS: 3, // retry 3 times
|
||||
PROVISIONING_JOB_BACKOFF: 5 * 1000, // retry after 5 second
|
||||
PROVISIONING_JOB_TIMEOUT: 10000, //
|
||||
});
|
||||
Reference in New Issue
Block a user