fix: make reply text collection process all remaining posts without limit
This commit is contained in:
1 parent
9589a9c090
commit
78e3a070b2
2 files changed
+13
-7
No files matched your search
@@ -559,7 +559,6 @@ namespace URLNotesGrabberCORE
|
||||
Console.WriteLine("Starting collection of missing reply text...");
|
||||
Console.WriteLine("Processing 10 posts at a time.");
|
||||
|
||||
int batchSize = 1; // Process 10 posts per batch
|
||||
int totalProcessedCount = 0;
|
||||
|
||||
RateLimiter limiter = new SlidingWindowRateLimiter(new SlidingWindowRateLimiterOptions
|
||||
@@ -572,9 +571,9 @@ namespace URLNotesGrabberCORE
|
||||
AutoReplenishment = true
|
||||
});
|
||||
|
||||
while (true && totalProcessedCount < batchSize)
|
||||
while (true)
|
||||
{
|
||||
var postsWithFilledReplies = DataAccess.GetRepliesWithFilledText(limit: batchSize);
|
||||
var postsWithFilledReplies = DataAccess.GetRepliesWithFilledText();
|
||||
|
||||
if (postsWithFilledReplies.Count == 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user