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

perf: stream bundled OpenAPI file instead of sending it wholesale #361

Merged
merged 2 commits into from
Aug 26, 2021

Conversation

kanadgupta
Copy link
Member

@kanadgupta kanadgupta commented Aug 26, 2021

🧰 Changes

We were seeing issues where validated + bundled OpenAPI files weren't being consumed properly by our API. This PR fixes two things:

🧬 QA & Testing

Confirmed that uploading files still works with these changes, and that uploading larger files at least doesn't fail multer validation! If CI passes, we should be good to go.

@kanadgupta kanadgupta marked this pull request as ready for review August 26, 2021 23:05
@kanadgupta kanadgupta requested a review from erunion August 26, 2021 23:05
@erunion erunion added the performance Issues with performance label Aug 26, 2021
@@ -1,6 +1,6 @@
module.exports = {
// eslint-disable-next-line global-require
cli: require('../package.json').name,
host: 'https://dash.readme.io',
host: 'https://dash.readme.com',
Copy link
Member

Choose a reason for hiding this comment

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

:yikes:

@erunion erunion merged commit 8fbf131 into main Aug 26, 2021
@erunion erunion deleted the perf/stream-bundled-oas branch August 26, 2021 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Issues with performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants