Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 31342e6

Browse files
committed
Don't retry LicenseExceptions
1 parent 010497d commit 31342e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ServiceStack.Redis/RedisNativeClient_Utils.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,8 @@ protected T SendReceive<T>(byte[][] cmdWithBinaryArgs,
527527
catch (Exception outerEx)
528528
{
529529
var retryableEx = outerEx as RedisRetryableException;
530-
if (retryableEx == null && outerEx is RedisException)
530+
if (retryableEx == null && outerEx is RedisException
531+
|| outerEx is LicenseException)
531532
{
532533
ResetSendBuffer();
533534
throw;

0 commit comments

Comments
 (0)