X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fnotification%2FNotificationHandlerModule.kt;h=0d7bb2561aa65980f155b48d5c8fa7534d6e147d;hp=539f00168886ed0dd5e3bab4d2ea4c3baac21cb4;hb=1ad1aae2e29c608c5e1ab89e125bf2267fed18c6;hpb=fc2922b836c9f23242135c752653507a573917ea diff --git a/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandlerModule.kt b/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandlerModule.kt index 539f001..0d7bb25 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandlerModule.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandlerModule.kt @@ -77,10 +77,6 @@ class NotificationHandlerModule : AbstractModule() { ListNotification("sones-locked-notification", "sones", loaders.loadTemplate("/templates/notify/lockedSonesNotification.html"), dismissable = true) @Provides - fun getScheduledExecutorService(): ScheduledExecutorService = - newScheduledThreadPool(1) - - @Provides @Singleton @Named("localPost") fun getLocalPostNotification(loaders: Loaders) =