Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123041
D1229.id3858.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
D1229.id3858.diff
View Options
diff --git a/dockerfiles/swh-deposit/entrypoint.sh b/dockerfiles/swh-deposit/entrypoint.sh
--- a/dockerfiles/swh-deposit/entrypoint.sh
+++ b/dockerfiles/swh-deposit/entrypoint.sh
@@ -36,5 +36,6 @@
exec gunicorn --bind 0.0.0.0:5006 \
--reload \
--log-level DEBUG \
+ --timeout 3600 \
swh.deposit.wsgi
fi
diff --git a/dockerfiles/swh-indexer-storage/entrypoint.sh b/dockerfiles/swh-indexer-storage/entrypoint.sh
--- a/dockerfiles/swh-indexer-storage/entrypoint.sh
+++ b/dockerfiles/swh-indexer-storage/entrypoint.sh
@@ -44,6 +44,7 @@
exec gunicorn --bind 0.0.0.0:5007 \
--reload \
--log-level DEBUG \
+ --timeout 3600 \
swh.indexer.storage.api.wsgi
;;
esac
diff --git a/dockerfiles/swh-objstorage/entrypoint.sh b/dockerfiles/swh-objstorage/entrypoint.sh
--- a/dockerfiles/swh-objstorage/entrypoint.sh
+++ b/dockerfiles/swh-objstorage/entrypoint.sh
@@ -20,10 +20,11 @@
exec bash -i
else
echo Starting the swh-objstorage API server
- exec gunicorn --bind 0.0.0.0:5003 \
- --worker-class aiohttp.worker.GunicornWebWorker \
- --log-level DEBUG \
- --reload \
- swh.objstorage.api.wsgi
+ exec gunicorn --bind 0.0.0.0:5003 \
+ --worker-class aiohttp.worker.GunicornWebWorker \
+ --log-level DEBUG \
+ --reload \
+ --timeout 3600 \
+ swh.objstorage.api.wsgi
fi
diff --git a/dockerfiles/swh-scheduler-api/entrypoint.sh b/dockerfiles/swh-scheduler-api/entrypoint.sh
--- a/dockerfiles/swh-scheduler-api/entrypoint.sh
+++ b/dockerfiles/swh-scheduler-api/entrypoint.sh
@@ -41,8 +41,9 @@
echo Starting the swh-scheduler API server
exec gunicorn --bind 0.0.0.0:5008 \
- --log-level DEBUG \
- --reload \
- swh.scheduler.api.wsgi
+ --log-level DEBUG \
+ --reload \
+ --timeout 3600 \
+ swh.scheduler.api.wsgi
esac
diff --git a/dockerfiles/swh-storage/entrypoint.sh b/dockerfiles/swh-storage/entrypoint.sh
--- a/dockerfiles/swh-storage/entrypoint.sh
+++ b/dockerfiles/swh-storage/entrypoint.sh
@@ -40,6 +40,7 @@
exec gunicorn --bind 0.0.0.0:5002 \
--reload \
--log-level DEBUG \
+ --timeout 3600 \
swh.storage.api.wsgi
;;
esac
diff --git a/dockerfiles/swh-web/entrypoint.sh b/dockerfiles/swh-web/entrypoint.sh
--- a/dockerfiles/swh-web/entrypoint.sh
+++ b/dockerfiles/swh-web/entrypoint.sh
@@ -20,5 +20,7 @@
;;
*)
echo "starting the swh-web server"
- exec gunicorn -b 0.0.0.0:5004 swh.web.wsgi
+ exec gunicorn --bind 0.0.0.0:5004 \
+ --timeout 3600 \
+ swh.web.wsgi
esac
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 17, 5:17 PM (2 d, 18 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3217419
Attached To
D1229: [docker-compose] gunicorn: Use same timeout value as in production
Event Timeline
Log In to Comment