Avoid google sheet limits

This commit is contained in:
Michał Zieliński
2025-06-08 12:33:22 +02:00
parent f26423d937
commit 34c1ba1483
2 changed files with 5 additions and 0 deletions

View File

@@ -389,12 +389,16 @@ public class MorskaT1R1Processor : MorskaBaseProcessor
// Update monthly data (months 1-12)
UpdateMonthlyData(sheetId, codesRow, processedLayer);
Thread.Sleep(1000);
// Update summary row (month 13)
UpdateSummaryData(sheetId, codesRow, processedLayer);
Thread.Sleep(1000);
// Update timestamps
UpdateTimestamps(sheetId, processedLayer);
Thread.Sleep(1000);
_logger.LogInformation("{ProcessorType}: Successfully updated Google Sheet report {SheetName}",
ProcessorType, GoogleSheetName);

View File

@@ -332,6 +332,7 @@ public class MorskaT1R3Processor : MorskaBaseProcessor
for (var month = 1; month <= 12; month++)
{
UpdateMonthSheet(sheetId, processedLayer, month);
Thread.Sleep(1000);
}
_logger.LogInformation("{ProcessorType}: Successfully updated Google Sheet reports for all months",