Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
marcobeierer committed Aug 26, 2019
1 parent a72fe7e commit 74ccad2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func main() {
// do up to three retries if request fails
// the easiest way to simulate retries is to add an invalid port the sitemap generator API URL (api.marcobeierer.com) below
retries++
// don't `continue` because we want to sleep anyway
} else {
if retries > 0 {
log.Fatalln("multiple request failed, abort sitemap generation")
Expand Down
Binary file removed sitemapgenerator-cli
Binary file not shown.

0 comments on commit 74ccad2

Please sign in to comment.