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

Enabled nginx proxy buffering #6991

Merged
merged 4 commits into from
Oct 12, 2023
Merged

Enabled nginx proxy buffering #6991

merged 4 commits into from
Oct 12, 2023

Conversation

azhavoro
Copy link
Contributor

Motivation and context

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • I have created a changelog fragment
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • I have linked related issues (see GitHub docs)
  • I have increased versions of npm packages if it is necessary
    (cvat-canvas,
    cvat-core,
    cvat-data and
    cvat-ui)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Merging #6991 (672e355) into develop (b450b44) will increase coverage by 0.01%.
Report is 6 commits behind head on develop.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #6991      +/-   ##
===========================================
+ Coverage    82.59%   82.60%   +0.01%     
===========================================
  Files          360      360              
  Lines        38926    38920       -6     
  Branches      3570     3570              
===========================================
+ Hits         32150    32151       +1     
+ Misses        6776     6769       -7     
Components Coverage Δ
cvat-ui 77.64% <ø> (+0.03%) ⬆️
cvat-server 87.15% <ø> (-0.01%) ⬇️

@@ -73,7 +73,8 @@ http {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_redirect off;
proxy_buffering off;
Copy link
Contributor

Choose a reason for hiding this comment

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

cvat/nginx.conf Outdated
@@ -73,7 +73,8 @@ http {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_redirect off;
proxy_buffering off;
proxy_buffering on;
proxy_buffers 100 512k;
Copy link
Contributor

Choose a reason for hiding this comment

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

Need to explain values and probably leave comments on why they chose them.
I like a reply in the thread: https://stackoverflow.com/questions/33460569/nginx-proxy-buffering-changing-buffers-number-vs-size

"There's likely a good reason that the default number of buffers was chosen to be 8 as well."

@nmanovic nmanovic merged commit 848e373 into develop Oct 12, 2023
33 checks passed
@nmanovic nmanovic deleted the az/update_nginx_config branch October 12, 2023 19:46
@github-actions github-actions bot mentioned this pull request Oct 13, 2023
mikhail-treskin pushed a commit to retailnext/cvat that referenced this pull request Oct 25, 2023
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.

None yet

2 participants