refactor: update timer record calls to use Runnable type
Build & Test (NowChessSystems) TeamCity build failed

This commit is contained in:
2026-05-10 22:24:55 +02:00
parent d57c488661
commit 9459203e0d
4 changed files with 6 additions and 8 deletions
@@ -33,7 +33,7 @@ class GameWritebackService:
@Transactional
def writeBack(event: GameWritebackEventDto): Unit =
writebackTimer.record(() => doWriteBack(event))
writebackTimer.record((() => doWriteBack(event)): Runnable)
private def doWriteBack(event: GameWritebackEventDto): Unit =
repository.findByGameId(event.gameId) match