Skip to content

Commit a3dce52

Browse files
committed
Quieten down logs.
1 parent cb12bd5 commit a3dce52

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/kotlin/com/embabel/guide/chat/service/PresenceService.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ class PresenceService(private val messaging: SimpMessagingTemplate) {
1414
private val byUser = ConcurrentHashMap<String, MutableSet<String>>() // userId -> sessionIds
1515

1616
fun touch(userId: String, sessionId: String, status: String?) {
17-
logger.debug("Updating presence for user: {} session: {} status: {}", userId, sessionId, status)
1817
val now = Instant.now()
1918
val isNewSession = !bySession.containsKey(sessionId)
20-
val updated = bySession.compute(sessionId) { _, existing ->
19+
bySession.compute(sessionId) { _, existing ->
2120
existing?.apply {
2221
lastSeen = now
2322
status?.let { this.status = it }

0 commit comments

Comments
 (0)