From: Peter Mikus Date: Thu, 19 May 2022 12:24:37 +0000 (+0200) Subject: feat(uti): Deploy tuning X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=434cc4468317689232db8f143e7b06e6e3cacb4b feat(uti): Deploy tuning Signed-off-by: Peter Mikus Change-Id: I6f83e88a34997183fa2e7ac5bfe52b9bce50c906 --- diff --git a/resources/tools/dash/app/.ebextensions/cron-linux.config b/resources/tools/dash/app/.ebextensions/cron-linux.config new file mode 100644 index 0000000000..505cd973fa --- /dev/null +++ b/resources/tools/dash/app/.ebextensions/cron-linux.config @@ -0,0 +1,7 @@ +files: + "/etc/cron.d/mycron": + mode: "000644" + owner: root + group: root + content: | + 0 4 * * * root /bin/echo 'c' > /tmp/masterfifo \ No newline at end of file diff --git a/resources/tools/dash/app/app.ini b/resources/tools/dash/app/app.ini index 796f33235b..efbea3f13a 100644 --- a/resources/tools/dash/app/app.ini +++ b/resources/tools/dash/app/app.ini @@ -4,6 +4,11 @@ py-autoreload = 0 [pal] module = wsgi:app +master-fifo = /tmp/masterfifo +lazy = True +lazy-apps = True +touch-chain-reload +listen = 128 processes = 2 threads = 4