Skip to content

Commit af5fad2

Browse files
authored
Remove timeout from web and proxito (#171)
The default is 30 seconds, if you enter in a debugging session, the request will be killed, giving no time to debug.
1 parent 918d600 commit af5fad2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dockerfiles/entrypoints/proxito.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
../../docker/common.sh
44

5-
CMD="gunicorn readthedocs.wsgi:application -w 3 -b 0.0.0.0:8000 --max-requests=10000"
5+
CMD="gunicorn readthedocs.wsgi:application -w 3 -b 0.0.0.0:8000 --max-requests=10000 --timeout=0"
66

77
if [ -n "${DOCKER_NO_RELOAD}" ]; then
88
echo "Running process with no reload"

dockerfiles/entrypoints/web.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ then
1313
python3 manage.py loaddata test_data
1414
fi
1515

16-
CMD="gunicorn readthedocs.wsgi:application -w 3 -b 0.0.0.0:8000 --max-requests=10000"
16+
CMD="gunicorn readthedocs.wsgi:application -w 3 -b 0.0.0.0:8000 --max-requests=10000 --timeout=0"
1717

1818
if [ -n "${DOCKER_NO_RELOAD}" ]; then
1919
echo "Running process with no reload"

0 commit comments

Comments
 (0)