Start using preemption

This commit is contained in:
Quentin 2020-07-05 23:15:05 +02:00
parent 5e83c8e5fe
commit 775bab3735
2 changed files with 3 additions and 7 deletions

View file

@ -1,11 +1,7 @@
job "dbx86" {
job "postgres" {
datacenters = ["dc1"]
type = "system"
constraint {
attribute = "${attr.cpu.arch}"
value = "amd64"
}
priority = 90
update {
max_parallel = 1

View file

@ -39,7 +39,7 @@ job "seafile" {
}
resources {
memory = 2048
memory = 512
network {
port "seahub_port" {}
port "seafhttp_port" {}