fix(auth): change InternalAuthFilter to use @Singleton and add HTTP tests for secret validation
Build & Test (NowChessSystems) TeamCity build failed
Build & Test (NowChessSystems) TeamCity build failed
This commit is contained in:
+5
-2
@@ -186,8 +186,11 @@ class InstanceHeartbeatService:
|
||||
)
|
||||
|
||||
val json = mapper.writeValueAsString(metadata)
|
||||
reactiveRedis.value(classOf[String]).setex(key, 5L, json)
|
||||
.subscribe().`with`(
|
||||
reactiveRedis
|
||||
.value(classOf[String])
|
||||
.setex(key, 5L, json)
|
||||
.subscribe()
|
||||
.`with`(
|
||||
_ => (),
|
||||
(ex: Throwable) => log.warnf(ex, "Failed to refresh Redis heartbeat"),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user