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

heroku-powered private pep8speaks fork timeout on big PRs #171

Open
walkingpendulum opened this issue May 18, 2020 · 1 comment
Open

heroku-powered private pep8speaks fork timeout on big PRs #171

walkingpendulum opened this issue May 18, 2020 · 1 comment

Comments

@walkingpendulum
Copy link

We are hosting our pep8speaks fork on heroku to serve our private repos. For very big pull requests pep8speaks' webhook request regularly times out because of cumulative time to spin new heroku dyno, to fetch all changed files and to process them exceeds 10s timeout that GitHub sets for webhook requests.

There is an submitted issue https://github.community/t5/GitHub-API-Development-and/Extended-Service-Timeout-for-webhooks/td-p/19639 where @samuelcolvin responded with workaround. Workaround is to respond early to gihub webhook and continue to process request in background.

Please consider native support for this feature. Thanks in advance!

@samuelcolvin
Copy link

I'm not familiar with this project, but can't you just proxy it through https://proxy.samuelcolvin.workers.dev/? see https://github.com/samuelcolvin/cloudflare-proxy for details or to create your own proxy.

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

No branches or pull requests

2 participants