Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timeout option to links.validate.config #69

Merged
merged 1 commit into from
Aug 3, 2021

Conversation

saswatamcode
Copy link
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 self-assigned this Aug 1, 2021
Copy link
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 馃憤馃徑

@@ -20,6 +21,9 @@ type Config struct {
Version int

Validators []ValidatorConfig `yaml:"validators"`
Timeout string `yaml:"timeout"`
Copy link
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