File tree Expand file tree Collapse file tree 5 files changed +1
-10
lines changed
Expand file tree Collapse file tree 5 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export class ConfigGrpcController implements ParametersController {
2323 limitations : {
2424 maxMessageLength : limitations ?. max_message_length ,
2525 maxSubscriptions : limitations ?. max_subscriptions ,
26- maxFilters : limitations ?. max_filters ,
26+ maxFilters : 0 , // TODO ::: remove me.
2727 maxSubidLength : limitations ?. max_subid_length ,
2828 minPowDifficulty : limitations ?. min_pow_difficulty ,
2929 authRequired : limitations ?. auth_required ,
Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ export class LimitationDto {
1212 @IsInt ( )
1313 max_subscriptions ?: number ;
1414
15- @ApiProperty ( )
16- @IsInt ( )
17- max_filters ?: number ;
18-
1915 @ApiProperty ( )
2016 @IsInt ( )
2117 max_subid_length ?: number ;
Original file line number Diff line number Diff line change @@ -142,7 +142,6 @@ export class Nip11DTO extends AbstractDto {
142142 auth_required : e . limitation . auth_required ?? undefined ,
143143 max_message_length : e . limitation . max_message_length ?? undefined ,
144144 max_subid_length : e . limitation . max_subid_length ?? undefined ,
145- max_filters : e . limitation . max_filters ?? undefined ,
146145 max_subscriptions : e . limitation . max_subscriptions ?? undefined ,
147146 min_pow_difficulty : e . limitation . min_pow_difficulty ?? undefined ,
148147 payment_required : e . limitation . payment_required ?? undefined ,
Original file line number Diff line number Diff line change @@ -7,9 +7,6 @@ export class LimitationEntity {
77 @Column ( )
88 max_subscriptions ?: number | null ;
99
10- @Column ( )
11- max_filters ?: number | null ;
12-
1310 @Column ( )
1411 max_subid_length ?: number | null ;
1512
Original file line number Diff line number Diff line change @@ -109,7 +109,6 @@ export class Nip11Entity extends AbstractEntity<Nip11DTO> {
109109 this . limitation = {
110110 max_message_length : item . limitation ?. max_message_length ?? this . limitation ?. max_message_length ?? null ,
111111 max_subscriptions : item . limitation ?. max_subscriptions ?? this . limitation ?. max_subscriptions ?? null ,
112- max_filters : item . limitation ?. max_filters ?? this . limitation ?. max_filters ?? null ,
113112 max_subid_length : item . limitation ?. max_subid_length ?? this . limitation ?. max_subid_length ?? null ,
114113 min_pow_difficulty : item . limitation ?. min_pow_difficulty ?? this . limitation ?. min_pow_difficulty ?? null ,
115114 auth_required : item . limitation ?. auth_required ?? this . limitation ?. auth_required ?? null ,
You can’t perform that action at this time.
0 commit comments