Skip to content

Commit

Permalink
Merge pull request #257 from ebourg/patch-1
Browse files Browse the repository at this point in the history
Fix the refill interval example
  • Loading branch information
vladimir-bukhtoyarov committed Apr 29, 2022
2 parents a442141 + 7b0fdcf commit b3697cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asciidoc/src/main/docs/asciidoc/basic/concepts.adoc
Expand Up @@ -97,7 +97,7 @@ This type of refill regenerates tokens in an interval manner. "Interval" in oppo
[source, java]
----
// generates 100 tokens each minute
Refill.greedy(100, Duration.ofMinutes(1));
Refill.intervally(100, Duration.ofMinutes(1));
----

IntervallyAligned::
Expand Down Expand Up @@ -142,4 +142,4 @@ Bucket bucket = Bucket.builder()
.withNanosecondPrecision()
.withSynchronizationStrategy(SynchronizationStrategy.LOCK_FREE)
.build()
----
----

0 comments on commit b3697cf

Please sign in to comment.