Skip to content

Conversation

noisecapella
Copy link
Contributor

@noisecapella noisecapella commented Dec 6, 2016

What are the relevant tickets?

fixes #1971

What's this PR do?

Increases socket-timeout uwsgi setting to help prevent timeout

How should this be manually tested?

In Chrome turn on GPRS throttling and upload a 2mb profile image. It should take a while but it should complete without error.

@odlbot odlbot temporarily deployed to micromasters-ci-pr-2010 December 6, 2016 22:29 Inactive
@codecov-io
Copy link

codecov-io commented Dec 6, 2016

Current coverage is 91.59% (diff: 100%)

Merging #2010 into master will increase coverage by 0.05%

@@             master      #2010   diff @@
==========================================
  Files           287        287          
  Lines         20322      20461   +139   
  Methods        2477       2530    +53   
  Messages          0          0          
  Branches       1801       1808     +7   
==========================================
+ Hits          18602      18741   +139   
  Misses         1687       1687          
  Partials         33         33          

Powered by Codecov. Last update b4428dd...9ff2cd2

@odlbot odlbot temporarily deployed to micromasters-ci-pr-2010 December 7, 2016 14:03 Inactive
@odlbot odlbot temporarily deployed to micromasters-ci-pr-2010 December 7, 2016 16:00 Inactive
@rhysyngsun rhysyngsun self-assigned this Dec 7, 2016
uwsgi.ini Outdated
socket-timeout = %(_)
endif =
if-not-env = UWSGI_SOCKET_TIMEOUT
socket-timeout=30
Copy link
Contributor

Choose a reason for hiding this comment

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

My only nit here is the inconsistent spacing between this and the if-env. Otherwise 👍

George Schneeloch and others added 5 commits December 7, 2016 12:50
Updated uWSGI config to allow for setting the timeout via an env var
The default socket-timeout is now 30s when there is no value set for UWSGI_SOCKET_TIMEOUT
@blarghmatey blarghmatey force-pushed the gs/increase_socket_timeout branch from 9ff2cd2 to b51749b Compare December 7, 2016 17:53
@odlbot odlbot requested a deployment to micromasters-ci-pr-2010 December 7, 2016 17:53 Pending
@blarghmatey blarghmatey merged commit 3e43191 into master Dec 7, 2016
@blarghmatey blarghmatey deleted the gs/increase_socket_timeout branch December 7, 2016 17:53
@annagav annagav mentioned this pull request Dec 7, 2016
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UnreadablePostError
5 participants