Skip to content

Commit 488a74a

Browse files
authored
comment out exception for the list multiple key when redis version less than 7
1 parent 7319ea6 commit 488a74a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ListsTrigger/RedisListsListener.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ public override async Task StartAsync(CancellationToken cancellationToken)
2626
await base.StartAsync(cancellationToken);
2727
if (serverVersion < new Version("7.0") && keys.Length > 1)
2828
{
29-
// lmpop is 7.0 and higher, so function will only be able to trigger on a single key
30-
throw new ArgumentException($"The cache's version {serverVersion} is lower than 7.0, and does not support lmpop");
29+
// lmpop is 7.0 and higher, so function will only trigger on the first key in the given input
3130
}
3231
}
3332

0 commit comments

Comments
 (0)