Page MenuHomeSoftware Heritage

D1651.diff
No OneTemporary

D1651.diff

diff --git a/services/swh-deposit/entrypoint.sh b/services/swh-deposit/entrypoint.sh
--- a/services/swh-deposit/entrypoint.sh
+++ b/services/swh-deposit/entrypoint.sh
@@ -27,6 +27,8 @@
echo "starting swh-deposit server"
exec gunicorn --bind 0.0.0.0:5006 \
--reload \
+ --threads 2 \
+ --workers 2 \
--log-level DEBUG \
--timeout 3600 \
swh.deposit.wsgi
diff --git a/services/swh-indexer-storage/entrypoint.sh b/services/swh-indexer-storage/entrypoint.sh
--- a/services/swh-indexer-storage/entrypoint.sh
+++ b/services/swh-indexer-storage/entrypoint.sh
@@ -23,6 +23,8 @@
echo Starting the swh-indexer-storage API server
exec gunicorn --bind 0.0.0.0:5007 \
--reload \
+ --threads 2 \
+ --workers 2 \
--log-level DEBUG \
--timeout 3600 \
swh.indexer.storage.api.wsgi
diff --git a/services/swh-objstorage/entrypoint.sh b/services/swh-objstorage/entrypoint.sh
--- a/services/swh-objstorage/entrypoint.sh
+++ b/services/swh-objstorage/entrypoint.sh
@@ -9,12 +9,14 @@
pip list
if [ "$1" = 'shell' ] ; then
- exec bash -i
+ exec bash -i
else
- echo Starting the swh-objstorage API server
+ echo Starting the swh-objstorage API server
exec gunicorn --bind 0.0.0.0:5003 \
--worker-class aiohttp.worker.GunicornWebWorker \
--log-level DEBUG \
+ --threads 4 \
+ --workers 2 \
--reload \
--timeout 3600 \
swh.objstorage.api.wsgi
diff --git a/services/swh-scheduler-api/entrypoint.sh b/services/swh-scheduler-api/entrypoint.sh
--- a/services/swh-scheduler-api/entrypoint.sh
+++ b/services/swh-scheduler-api/entrypoint.sh
@@ -25,6 +25,8 @@
echo Starting the swh-scheduler API server
exec gunicorn --bind 0.0.0.0:5008 \
--log-level DEBUG \
+ --threads 2 \
+ --workers 2 \
--reload \
--timeout 3600 \
swh.scheduler.api.wsgi
diff --git a/services/swh-storage/entrypoint.sh b/services/swh-storage/entrypoint.sh
--- a/services/swh-storage/entrypoint.sh
+++ b/services/swh-storage/entrypoint.sh
@@ -22,6 +22,8 @@
echo Starting the swh-storage API server
exec gunicorn --bind 0.0.0.0:5002 \
--reload \
+ --threads 4 \
+ --workers 2 \
--log-level DEBUG \
--timeout 3600 \
swh.storage.api.wsgi
diff --git a/services/swh-web/entrypoint.sh b/services/swh-web/entrypoint.sh
--- a/services/swh-web/entrypoint.sh
+++ b/services/swh-web/entrypoint.sh
@@ -18,6 +18,8 @@
echo "starting the swh-web server"
exec gunicorn --bind 0.0.0.0:5004 \
+ --threads 2 \
+ --workers 2 \
--timeout 3600 \
swh.web.wsgi
esac

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 2, 10:43 AM (2 w, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3217528

Event Timeline