Skip to content

Commit

Permalink
Feat: Fix Local TPS Migration (#1294)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikataot authored Mar 27, 2024
1 parent 0756987 commit 86760f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tps-migration/src/modules/tps-permit/tps-permit.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class TpsPermitService {
*
*/

@Cron(`${process.env.TPS_PENDING_POLLING_INTERVAL}`)
@Cron(`${process.env.TPS_PENDING_POLLING_INTERVAL || "0 */1 * * * *"}`)
@LogAsyncMethodExecution()
async uploadTpsPermit() {
const tpsPermits: TpsPermit[] = await this.tpsPermitRepository.find({
Expand Down Expand Up @@ -66,7 +66,7 @@ export class TpsPermitService {
* wrong and needs attention.
*
*/
@Cron(`${process.env.TPS_ERROR_POLLING_INTERVAL}`)
@Cron(`${process.env.TPS_ERROR_POLLING_INTERVAL || "0 0 */3 * * *"}`)
@LogAsyncMethodExecution()
async reprocessTpsPermit() {
const tpsPermits: TpsPermit[] = await this.tpsPermitRepository.find({
Expand Down

0 comments on commit 86760f2

Please sign in to comment.