Skip to content

Commit e762d5c

Browse files
chore: removed unused variables
1 parent ed4aab2 commit e762d5c

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

source/stores/aggregated_ip/store_aggregated_ip.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ class PostgresStoreAggregatedIP implements Store {
2222
*/
2323
prefix: string
2424

25-
/**
26-
* The type of session (as an enum)
27-
*/
28-
SESSION_TYPE: string = 'aggregated'
29-
3025
/**
3126
* The database connection pool.
3227
*/
@@ -37,11 +32,6 @@ class PostgresStoreAggregatedIP implements Store {
3732
*/
3833
windowMs!: number
3934

40-
/**
41-
* The time at which all hit counts will be reset.
42-
*/
43-
resetTime!: Date
44-
4535
/**
4636
* @constructor for `PostgresStoreAggregatedIP`.
4737
*

source/stores/individual_ip/store_individual_ip.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,11 @@ class PostgresStoreIndividualIP implements Store {
2727
*/
2828
prefix: string
2929

30-
/**
31-
* The type of session (as an enum)
32-
*/
33-
SESSION_TYPE: string = 'individual'
34-
3530
/**
3631
* The duration of time before which all hit counts are reset (in milliseconds).
3732
*/
3833
windowMs!: number
3934

40-
/**
41-
* The time at which all hit counts will be reset.
42-
*/
43-
resetTime!: Date
44-
4535
/**
4636
* @constructor for `PostgresStoreIndividualIP`.
4737
*

0 commit comments

Comments
 (0)