chore: add loger for the telegram sender
This commit is contained in:
@@ -9,10 +9,9 @@ export function bullMqConfig(): SharedBullAsyncConfiguration {
|
||||
url: configService.getOrThrow<string>("REDIS_URI"),
|
||||
},
|
||||
defaultJobOptions: {
|
||||
removeOnComplete: 2000, // Consider lower values in high-volume production
|
||||
removeOnFail: 5000, // Consider lower values to reduce Redis memory usage
|
||||
attempts: 3, // Reasonable default, adjust based on job criticality
|
||||
backoff: { type: "exponential", delay: 2000 }, // Consider adding for better retry behavior
|
||||
removeOnComplete: false,
|
||||
removeOnFail: false,
|
||||
attempts: 5, // Reasonable default, adjust based on job criticality
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user