Add sleep for rate limit in the context

Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2025-08-23 14:13:53 +02:00
parent 586c91103a
commit 39b72bc444
+1 -1
View File
@@ -108,7 +108,7 @@ func GetSettings() (settings Settings) {
ReportCaller: false, ReportCaller: false,
ReportTimestamp: false, ReportTimestamp: false,
}) })
settings.Ctx = context.Background() settings.Ctx = context.WithValue(context.Background(), github.SleepUntilPrimaryRateLimitResetWhenRateLimited, true)
//// Tail //// Tail
nonFlagArgs := flag.Args() nonFlagArgs := flag.Args()