mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +00:00
Make realtime UI more robust
This commit is contained in:
@@ -19,7 +19,7 @@ class ConfigService(
|
||||
private val log = KotlinLogging.logger {}
|
||||
}
|
||||
|
||||
private val configUpdates = Sinks.many().multicast().onBackpressureBuffer<ConfigUpdateDto>()
|
||||
private val configUpdates = Sinks.many().multicast().onBackpressureBuffer<ConfigUpdateDto>(1024, false)
|
||||
|
||||
fun subscribe(): Flux<ConfigUpdateDto> {
|
||||
log.debug { "New subscription for configUpdates (#${configUpdates.currentSubscriberCount()})" }
|
||||
|
||||
@@ -31,7 +31,7 @@ class PluginService(
|
||||
private val log = KotlinLogging.logger {}
|
||||
}
|
||||
|
||||
private val pluginUpdates = Sinks.many().multicast().onBackpressureBuffer<PluginUpdateDto>()
|
||||
private val pluginUpdates = Sinks.many().multicast().onBackpressureBuffer<PluginUpdateDto>(1024, false)
|
||||
private val pluginConfigValidationCache = mutableMapOf<String, PluginConfigValidationResult>()
|
||||
|
||||
init {
|
||||
|
||||
Reference in New Issue
Block a user