Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@twiny
Copy link
Owner

@twiny twiny commented Feb 17, 2024

Motive

this MR to fix issue with the crawling functionallity of the bot. the issue was with default fetcher that was using the http.Client that and it will block if the request takes too long to respond. the fix was to use http.Client with a timeout and a custom transport that will limit the number of concurrent requests.

Changes

  • removed OnError Method.
  • added zerolog logger.
  • refactor metrics monitoring and add new metrics
  • reverted to simple queue.
  • timeout to HTTP client.
  • update gitignore.

@twiny twiny self-assigned this Feb 17, 2024
@twiny twiny added the enhancement New feature or request label Feb 17, 2024
- updated readme.
- added .dev extention.
- fix mod tidy
@twiny twiny merged commit e1f643d into main Feb 18, 2024
@twiny twiny deleted the feat/fixing_crawler branch February 18, 2024 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants