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

Commit a7fb93e

Browse files
committed
Use pageSize consistently.
1 parent db8e144 commit a7fb93e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ServiceStack.Redis/Generic/RedisTypedClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ private void DeleteAll(ulong cursor, int pageSize)
477477
this.RemoveEntry(urnKeys.ToArray());
478478
}
479479
if(resultCursor != 0)
480-
DeleteAll(resultCursor,1000);
480+
DeleteAll(resultCursor,pageSize);
481481
else
482482
this.RemoveEntry(this.TypeIdsSetKey);
483483
}

src/ServiceStack.Redis/RedisClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ private void DeleteAll<T>(ulong cursor, int pageSize)
846846
this.RemoveEntry(urnKeys.ToArray());
847847
}
848848
if(resultCursor != 0)
849-
DeleteAll<T>(resultCursor, 1000);
849+
DeleteAll<T>(resultCursor, pageSize);
850850
else
851851
this.RemoveEntry(typeIdsSetKey);
852852
}

0 commit comments

Comments
 (0)