Skip to content

Commit

Permalink
small internal tweak for maxage per discussion w/ leibele (#2803)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjpotter authored Jul 23, 2024
1 parent 0e7e2e6 commit d09aaa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/lib/commands/CLIENT_KILL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ type KillSkipMe = ClientKillFilters.SKIP_ME | (KillFilter<ClientKillFilters.SKIP
skipMe: boolean;
});

interface KillMaxage extends KillFilter<ClientKillFilters.MAXAGE> {
interface KillMaxAge extends KillFilter<ClientKillFilters.MAXAGE> {
maxAge: number;
}

type KillFilters = KillAddress | KillLocalAddress | KillId | KillType | KillUser | KillSkipMe | KillMaxage;
type KillFilters = KillAddress | KillLocalAddress | KillId | KillType | KillUser | KillSkipMe | KillMaxAge;

export function transformArguments(filters: KillFilters | Array<KillFilters>): RedisCommandArguments {
const args = ['CLIENT', 'KILL'];
Expand Down

0 comments on commit d09aaa3

Please sign in to comment.