aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/dash/app
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-05-19 14:24:37 +0200
committerPeter Mikus <pmikus@cisco.com>2022-05-19 12:25:32 +0000
commit434cc4468317689232db8f143e7b06e6e3cacb4b (patch)
treefe7f93a02766e33deaf0de46f86c3ccd835acf79 /resources/tools/dash/app
parent3343fe81729eb4005319ca15b1e6881630d38c5b (diff)
feat(uti): Deploy tuning
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I6f83e88a34997183fa2e7ac5bfe52b9bce50c906
Diffstat (limited to 'resources/tools/dash/app')
-rw-r--r--resources/tools/dash/app/.ebextensions/cron-linux.config7
-rw-r--r--resources/tools/dash/app/app.ini5
2 files changed, 12 insertions, 0 deletions
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