Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
maeddin committed Jul 28, 2024
1 parent d0cba2f commit 98d4472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/token_bucket_storage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ class MemoryTokenBucketStorage extends TokenBucketStorage {

/// This [TokenBucketStorage] stores a [TokenBucketState] as static variable in memory.
class StaticMemoryTokenBucketStorage extends TokenBucketStorage {
static final Map<String, TokenBucketState> _states = {};
static final Map<Object, TokenBucketState> _states = {};

final String key;
final Object key;

StaticMemoryTokenBucketStorage({required this.key});

Expand Down

0 comments on commit 98d4472

Please sign in to comment.