New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: application actor (DEV-956) #2166
Conversation
…dasch-swiss/dsp-api into wip/DEV-956-zio-fying-application-actor
def putUserADM(value: UserADM): Task[Unit] = | ||
for { | ||
res <- cs.putUserADM(value) @@ cacheServiceWriteUserTimer.trackDuration | ||
// _ <- cacheServiceWriteUserTimer.value.tap(value => ZIO.debug(value)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the usage of this timer? Is it to measure the time it takes to write something into the cache? What is the use case behind that?
webapi/src/test/scala/org/knora/webapi/core/TestClientService.scala
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## main #2166 +/- ##
==========================================
+ Coverage 86.64% 86.84% +0.20%
==========================================
Files 233 243 +10
Lines 28020 28191 +171
==========================================
+ Hits 24277 24482 +205
+ Misses 3743 3709 -34
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Resolves DEV-956, DEV-300
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: DEV-956
What is the new behavior?
Does this PR introduce a breaking change?
Other information