Introduce the MaxMemory struct that defaults to 2/3 of the available memory

This commit is contained in:
Clément Renault
2021-09-02 18:18:59 +02:00
parent 24e84d7ca1
commit b092a624ed
4 changed files with 90 additions and 12 deletions

View File

@ -76,6 +76,7 @@ pin-project = "1.0.7"
whoami = { version = "1.1.2", optional = true }
reqwest = { version = "0.11.3", features = ["json", "rustls-tls"], default-features = false, optional = true }
serdeval = "0.1.0"
sysinfo = "0.20.0"
[dev-dependencies]
actix-rt = "2.1.0"