Update Updater.kt

This commit is contained in:
Mitchell Syer
2023-08-20 13:09:57 -04:00
committed by GitHub
parent 41deaee244
commit 2678792cf6

View File

@@ -53,7 +53,7 @@ class Updater : IUpdater {
private var currentUpdateTaskId = ""
init {
serverConfig.subscribeTo(serverConfig.globalUpdateInterval, ::scheduleUpdateTask)
serverConfig.subscribeTo(serverConfig.globalUpdateInterval, ::scheduleUpdateTask, ignoreInitialValue = false)
serverConfig.subscribeTo(
serverConfig.maxSourcesInParallel,
{ value ->