Skip to content

Commit

Permalink
fix: remove storage property from interface
Browse files Browse the repository at this point in the history
ref: #1211
  • Loading branch information
jmcdo29 committed Sep 4, 2023
1 parent 87c75d9 commit 08b15cd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/throttler-storage.interface.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
import { ThrottlerStorageOptions } from './throttler-storage-options.interface';
import { ThrottlerStorageRecord } from './throttler-storage-record.interface';

export interface ThrottlerStorage {
/**
* The internal storage with all the request records.
* The key is a hashed key based on the current context and IP.
*/
storage: Record<string, ThrottlerStorageOptions>;

/**
* Increment the amount of requests for a given record. The record will
* automatically be removed from the storage once its TTL has been reached.
Expand Down

0 comments on commit 08b15cd

Please sign in to comment.