mirror of
https://github.com/wassname/talk.git
synced 2026-07-12 08:04:00 +08:00
5.4.0 Release Bug Fixes (#2789)
* fix: addresses CORL-848 Fixed copy for new commenters feature. * fix: address CORL-847 Revert the line hight changes on select fields for now. * fix: addressed CORL-851 Changed copy on CSS field. * fix: addressed CORL-840 Changed deletion window to 24 hours. Refactored durations to use TIME enum.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import Queue, { Job, Queue as QueueType } from "bull";
|
||||
import Logger from "bunyan";
|
||||
|
||||
import TIME from "coral-common/time";
|
||||
import logger from "coral-server/logger";
|
||||
|
||||
export interface TaskOptions<T, U = any> {
|
||||
@@ -31,11 +32,10 @@ export default class Task<T, U = any> {
|
||||
// with completed entries if we don't need to.
|
||||
removeOnComplete: true,
|
||||
|
||||
// By default, configure jobs to use an exponential backoff
|
||||
// strategy starting at a 10 second delay.
|
||||
// By default, configure jobs to use an exponential backoff strategy.
|
||||
backoff: {
|
||||
type: "exponential",
|
||||
delay: 10000,
|
||||
delay: 10 * TIME.SECOND,
|
||||
},
|
||||
|
||||
// Be default, try all jobs at least 5 times.
|
||||
|
||||
Reference in New Issue
Block a user