feat(uti): Deploy tuning 73/36173/2
authorPeter Mikus <pmikus@cisco.com>
Thu, 19 May 2022 12:24:37 +0000 (14:24 +0200)
committerPeter Mikus <pmikus@cisco.com>
Thu, 19 May 2022 12:25:32 +0000 (12:25 +0000)
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I6f83e88a34997183fa2e7ac5bfe52b9bce50c906

resources/tools/dash/app/.ebextensions/cron-linux.config [new file with mode: 0644]
resources/tools/dash/app/app.ini

diff --git a/resources/tools/dash/app/.ebextensions/cron-linux.config b/resources/tools/dash/app/.ebextensions/cron-linux.config
new file mode 100644 (file)
index 0000000..505cd97
--- /dev/null
@@ -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
index 796f332..efbea3f 100644 (file)
@@ -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