cleanup expired notification urls

This commit is contained in:
Jesse de Wit
2023-11-16 12:37:46 +01:00
parent 6d307179f1
commit 1ef7d8cf76
4 changed files with 61 additions and 2 deletions

View File

@@ -103,8 +103,11 @@ func main() {
notificationService := notifications.NewNotificationService(notificationsStore)
go notificationService.Start(ctx)
openingService := common.NewOpeningService(openingStore, nodesService)
cleanupService := lsps2.NewCleanupService(lsps2Store)
go cleanupService.Start(ctx)
lsps2CleanupService := lsps2.NewCleanupService(lsps2Store)
go lsps2CleanupService.Start(ctx)
notificationCleanupService := notifications.NewCleanupService(notificationsStore)
go notificationCleanupService.Start(ctx)
var interceptors []interceptor.HtlcInterceptor
for _, node := range nodes {
var htlcInterceptor interceptor.HtlcInterceptor