Skip to content

Commit

Permalink
Fix readme on backend insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
vidalmatheus committed Jul 15, 2023
1 parent 6721706 commit dee891c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ third_party_api_rate_limit_bucket = SimpleTokenBucket(
name="third_party_api",
bucket_size=3,
interval=10,
backend=RedisBackend.from_url("redis://localhost:6379/0")
)

third_party_api_rate_limit_bucket.try_get_token()
Expand Down

0 comments on commit dee891c

Please sign in to comment.