Skip to content

Commit

Permalink
reduce time between role change
Browse files Browse the repository at this point in the history
  • Loading branch information
Panos Karampis committed Sep 24, 2024
1 parent 444b8c0 commit 175d49b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public Uni<Void> applyRoles() {
.createFrom()
.item(addRoles(entry.getKey(), member).get())
.onItem()
.delayIt().by(Duration.of(10, ChronoUnit.SECONDS))
.delayIt().by(Duration.of(1, ChronoUnit.SECONDS))
.onItem()
.invoke(RestAction::queue)
.onItem()
Expand All @@ -158,7 +158,7 @@ public Uni<Void> applyRoles() {
.createFrom()
.item(removeRoles(entry.getKey(), member).get())
.onItem()
.delayIt().by(Duration.of(10, ChronoUnit.SECONDS))
.delayIt().by(Duration.of(1, ChronoUnit.SECONDS))
.onItem()
.invoke(RestAction::queue)
.onItem()
Expand Down

0 comments on commit 175d49b

Please sign in to comment.