mirror of
https://github.com/anotherhadi/github-recon.git
synced 2026-10-05 10:58:25 +02:00
Add sleep for rate limit in the context
Signed-off-by: Hadi <[email protected]>
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user