aboutsummaryrefslogtreecommitdiff
path: root/app/im/deploy/im.hcl
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-30 21:07:42 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-30 21:07:42 +0100
commit6718d7f1da80fa6ed70d084a7c4df61a2b3187ed (patch)
tree3cd5df2faf64e46b8c41cf5615456ad40fff9f08 /app/im/deploy/im.hcl
parent5ea4cef2946a71467c519db803cd1c31f1ffff20 (diff)
downloadnixcfg-6718d7f1da80fa6ed70d084a7c4df61a2b3187ed.tar.gz
nixcfg-6718d7f1da80fa6ed70d084a7c4df61a2b3187ed.zip
tiny change to synapse
Diffstat (limited to 'app/im/deploy/im.hcl')
-rw-r--r--app/im/deploy/im.hcl12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/im/deploy/im.hcl b/app/im/deploy/im.hcl
index f782338..fd97c7b 100644
--- a/app/im/deploy/im.hcl
+++ b/app/im/deploy/im.hcl
@@ -12,7 +12,12 @@ job "im" {
}
ephemeral_disk {
- size = 1000
+ size = 10000
+ }
+
+ restart {
+ attempts = 10
+ delay = "60s"
}
task "restore-db" {
@@ -84,11 +89,6 @@ job "im" {
cpu = 1000
}
- restart {
- attempts = 3
- delay = "30s"
- }
-
service {
port = "http"
tags = [