From 434cc4468317689232db8f143e7b06e6e3cacb4b Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Thu, 19 May 2022 14:24:37 +0200 Subject: [PATCH] feat(uti): Deploy tuning Signed-off-by: Peter Mikus Change-Id: I6f83e88a34997183fa2e7ac5bfe52b9bce50c906 --- resources/tools/dash/app/.ebextensions/cron-linux.config | 7 +++++++ resources/tools/dash/app/app.ini | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 resources/tools/dash/app/.ebextensions/cron-linux.config 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 -- 2.16.6