Skip to content
Compare
Choose a tag to compare
@rednafi rednafi released this 03 Feb 05:01
· 65 commits to main since this release

Add support for retries with a max ceiling.

link-patrol -f examples/sample_1.md -t 2s --max-retries 3 --max-backoff 4s 
Filepath: examples/sample_1.md

- Location   : https://example.com
  Status Code: 200
  OK         : true
  Message    : OK
  Attempt    : 1

- Location   : https://gen.xyz/
  Status Code: 200
  OK         : true
  Message    : OK
  Attempt    : 1

- Location   : https://reference.com
  Status Code: 403
  OK         : false
  Message    : Forbidden
  Attempt    : 3

2024/02/03 06:00:49 one or more URLs have error status codes
exit status 1