Skip to content

Commit 9b207f8

Browse files
Update Source/Libraries/GSF.SortedTreeStore/Snap/Services/Reader/SequentialReaderStream'2.cs
Co-authored-by: Stephen C. Wills <swills@gridprotectionalliance.org>
1 parent 4183ed7 commit 9b207f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Libraries/GSF.SortedTreeStore/Snap/Services/Reader/SequentialReaderStream'2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ private bool ReadCatchAll(TKey key, TValue value)
209209
{
210210
retries++;
211211

212-
if (retries % 10000 == 0)
212+
if (retries >= 10000)
213213
{
214214
m_workerThreadSynchronization.PulseSafeToCallback();
215215
Interlocked.Add(ref Stats.PointsScanned, retries);

0 commit comments

Comments
 (0)