Skip to content

Add timeout option to links.validate.config#69

Merged
bwplotka merged 1 commit intobwplotka:mainfrom
saswatamcode:timeout
Aug 3, 2021
Merged

Add timeout option to links.validate.config#69
bwplotka merged 1 commit intobwplotka:mainfrom
saswatamcode:timeout

Conversation

@saswatamcode
Copy link
Copy Markdown
Collaborator

This PR adds a timeout option to links.validate.config to enable setting custom request timeouts for colly collector. Need feedback on how to test.🙂
Fixes #64.

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
@saswatamcode saswatamcode requested a review from bwplotka August 1, 2021 06:27
@saswatamcode saswatamcode self-assigned this Aug 1, 2021
Copy link
Copy Markdown
Owner

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏽

Version int

Validators []ValidatorConfig `yaml:"validators"`
Timeout string `yaml:"timeout"`
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's start with that, if needed we could do also per validator with this being default.

@bwplotka bwplotka merged commit 2dc3552 into bwplotka:main Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Easy way to increase timeout for slow networks

2 participants