Skip to content
This repository was archived by the owner on Oct 6, 2024. It is now read-only.

Commit 931ea0f

Browse files
authored
Trying to fix 403 API error via adding sleep (#190)
1 parent 0163132 commit 931ea0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Generator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,13 @@ public function run(): void
2929
// Generate HTML-page with issues for each proramming language
3030
foreach (ProgrammingLanguage::cases() as $language) {
3131
$issues = $this->github_api_client->searchIssuesWithGoodFirtsIssueTag($language->value);
32+
print_r(PHP_EOL);
3233
print_r($language->name . ' issues count: ' . count($issues) . PHP_EOL);
3334

3435
$renderer = new Renderer($this->root_path);
3536
$renderer->renderPage($issues, $language);
37+
38+
sleep(2);
3639
}
3740
}
3841
}

0 commit comments

Comments
 (0)