We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e72b79 commit b56326fCopy full SHA for b56326f
internal/scheduler/fcfs/fcfs.go
@@ -92,7 +92,13 @@ func (f *FCFSScheduler) Run(ctx context.Context) error {
92
93
/* we assume the transaction has been processed -> updated Redis */
94
transaction.Status = types.StatusSuccess
95
- f.curSessionManager.SaveTransactionResultsRedis(curSession, transaction, "txresults")
+
96
+ /* store the result of processed transaction into Redis */
97
+ f.curSessionManager.SaveTransactionRedisList(curSession, transaction, "txresults")
98
99
+ /* remove the transaction as pending from Redis */
100
+ f.curSessionManager.RemovePendingTransaction(curSession, transaction.ID)
101
102
}(curSession, transaction)
103
}
104
0 commit comments