Skip to content

Commit 205abc8

Browse files
committed
update constraint
1 parent 84a7a89 commit 205abc8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/modules/workflow-engine-inmemory/src/utils/workflow-orchestrator-storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ export class InMemoryDistributedTransactionStorage
634634
retention_time: {
635635
$ne: null,
636636
},
637-
created_at: {
637+
updated_at: {
638638
$lte: raw(
639639
(alias) =>
640640
`CURRENT_TIMESTAMP - (INTERVAL '1 second' * retention_time)`

packages/modules/workflow-engine-redis/src/utils/workflow-orchestrator-storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ export class RedisDistributedTransactionStorage
778778
retention_time: {
779779
$ne: null,
780780
},
781-
created_at: {
781+
updated_at: {
782782
$lte: raw(
783783
(alias) =>
784784
`CURRENT_TIMESTAMP - (INTERVAL '1 second' * "retention_time")`

0 commit comments

Comments
 (0)