Revert commit fc1e7739506eb010707cf94ea02e412c8819c154
Revert adding common caching and offloading tasks
Change-Id: Ie07f8ba9f5f86f94b912d969ff8839d22e6eef88
Related-bug: PROD-30846
diff --git a/entrypoint.sh b/entrypoint.sh
index fbeb6ac..4e212e2 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -6,17 +6,11 @@
WORKERS=${SF_NOTIFIER_WORKERS:-4}
BUFFER=${SF_NOTIFIER_BUFFER_SIZE:-32768}
PORT=${SF_NOTIFIER_APP_PORT:-5000}
-CACHE_ITEMS=${SF_NOTIFIER_CACHE_ITEMS:-300}
-CACHE_FILE=${SF_NOTIFIER_CACHE_FILE:-/tmp/cachefile}
mkdir -p /var/log/sf-notifier
chown -R 999:999 /var/log/sf-notifier
-MULES=$(for _ in $(seq 1 $WORKERS); do
- echo "--mule "
-done)
-
-uwsgi -p 4 \
+uwsgi -p ${WORKERS} \
--uid 999 \
--gid 999 \
--http 0.0.0.0:${PORT} \
@@ -24,6 +18,4 @@
--callable app_dispatch \
--buffer-size=${BUFFER} \
--max-worker-lifetime 300 \
- --cache2 name=mycache,items=${CACHE_ITEMS},store=${CACHE_FILE},store_sync=10 \
- ${MULES} \
--master