Skip to content

Commit

Permalink
add time for job runner
Browse files Browse the repository at this point in the history
  • Loading branch information
bahram1249 committed May 14, 2024
1 parent b328ae4 commit c46cd8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ export class ProductDiscountJobRunnerService {
{
removeOnComplete: true,
//delay: delay,
// backoff: {
// delay: 10000, //3600000,
// type: 'fixed',
// },
backoff: {
delay: 600000, //3600000,
type: 'fixed',
},
repeat: {
pattern: '*/15 * * * *',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export class ProductDiscountSetterService {
let finalDiscountList: ECDiscount[] = Array.from(discounts).sort(
(item) => item.priority,
);
console.log(discounts);

let discountApplied: DiscountInterface = null;

Expand Down

0 comments on commit c46cd8f

Please sign in to comment.