support scheduled transaction (#2)
This commit is contained in:
@@ -80,6 +80,10 @@ func (c *CronJobSchedulerContainer) registerAllJobs(ctx core.Context, config *se
|
||||
if config.EnableRemoveExpiredTokens {
|
||||
Container.registerIntervalJob(ctx, RemoveExpiredTokensJob)
|
||||
}
|
||||
|
||||
if config.EnableCreateScheduledTransaction {
|
||||
Container.registerIntervalJob(ctx, CreateScheduledTransactionJob)
|
||||
}
|
||||
}
|
||||
|
||||
func (c *CronJobSchedulerContainer) registerIntervalJob(ctx core.Context, job *CronJob) {
|
||||
|
||||
Reference in New Issue
Block a user