Content-Length: 248202 | pFad | https://github.com/mastodon/mastodon/pull/5250

B2 Improve error handling on LinkCrawlWorker by unarist · Pull Request #5250 · mastodon/mastodon · GitHub
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error handling on LinkCrawlWorker #5250

Merged
merged 2 commits into from
Oct 6, 2017

Conversation

unarist
Copy link
Contributor

@unarist unarist commented Oct 6, 2017

  • Ignore TimeoutError all http gem errors and InvalidURIError too
  • Record errors to debug log
  • Enable dead job queue on LinkCrawlWorker

Since most of acceptable errors were already ignored, only our side issue should go to dead job queue.

* Ignore TimeoutError and InvalidURIError too
* Record errors to debug log
* Enable dead job queue on LinkCrawlWorker

Since most of acceptable errors were already ignored, only our side issue should go to dead job queue.
@Gargron Gargron merged commit 5c8ca02 into mastodon:master Oct 6, 2017
rutan pushed a commit to rutan/mastodon that referenced this pull request Oct 11, 2017
* Improve error handling on LinkCrawlWorker

* Ignore TimeoutError and InvalidURIError too
* Record errors to debug log
* Enable dead job queue on LinkCrawlWorker

Since most of acceptable errors were already ignored, only our side issue should go to dead job queue.

* Ignore all http gem errors
cobodo pushed a commit to cobodo/mastodon that referenced this pull request Oct 20, 2017
* Improve error handling on LinkCrawlWorker

* Ignore TimeoutError and InvalidURIError too
* Record errors to debug log
* Enable dead job queue on LinkCrawlWorker

Since most of acceptable errors were already ignored, only our side issue should go to dead job queue.

* Ignore all http gem errors
@unarist unarist deleted the fix/ignore-timeout-for-previewcard branch September 30, 2018 14:53
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.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/mastodon/mastodon/pull/5250

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy