Skip to content

Commit

Permalink
comment out exception for the list multiple key when redis version le…
Browse files Browse the repository at this point in the history
…ss than 7
  • Loading branch information
mapalan authored Feb 17, 2023
1 parent 7319ea6 commit 488a74a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ListsTrigger/RedisListsListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ public override async Task StartAsync(CancellationToken cancellationToken)
await base.StartAsync(cancellationToken);
if (serverVersion < new Version("7.0") && keys.Length > 1)
{
// lmpop is 7.0 and higher, so function will only be able to trigger on a single key
throw new ArgumentException($"The cache's version {serverVersion} is lower than 7.0, and does not support lmpop");
// lmpop is 7.0 and higher, so function will only trigger on the first key in the given input
}
}

Expand Down

0 comments on commit 488a74a

Please sign in to comment.