Start using preemption
This commit is contained in:
parent
5e83c8e5fe
commit
775bab3735
2 changed files with 3 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -39,7 +39,7 @@ job "seafile" {
|
|||
}
|
||||
|
||||
resources {
|
||||
memory = 2048
|
||||
memory = 512
|
||||
network {
|
||||
port "seahub_port" {}
|
||||
port "seafhttp_port" {}
|
||||
|
|
Reference in a new issue