Optimized network connections (added write timeouts).

This commit is contained in:
Revertron
2023-01-30 14:40:59 +01:00
parent da7db8dfa4
commit c199a62a04
5 changed files with 112 additions and 26 deletions
+5 -5
View File
@@ -29,7 +29,7 @@ serde = { version = "1.0.144", features = ["derive"] }
serde_json = "1.0.85"
bincode = "1.3.3"
serde_cbor = "0.11.2"
base64 = "0.13.0"
base64 = "0.13.1"
num-bigint = "0.4.3"
num-traits = "0.2.15"
chrono = { version = "0.4.20", features = ["serde"] }
@@ -37,8 +37,8 @@ time = "0.3.14"
rand = { version = "0.8.5", package = "rand" }
rand-old = { package = "rand", version = "0.7.0" } # For ed25519-dalek
sqlite = "0.26.0"
uuid = { version = "1.1.2", features = ["serde", "v4"] }
mio = { version = "0.8.4", features = ["os-poll", "net"] }
uuid = { version = "1.2.1", features = ["serde", "v4"] }
mio = { version = "0.8.5", features = ["os-poll", "net"] }
ureq = { version = "2.5", optional = true }
lru = "0.8.1"
derive_more = "0.99.17"
@@ -52,10 +52,10 @@ open = { version = "3.0.3", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = ["impl-default", "wincon", "shellscalingapi"] }
thread-priority = "0.9.2"
thread-priority = "0.10.0"
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
thread-priority = "0.9.2"
thread-priority = "0.10.0"
[build-dependencies]
winres = "0.1.12"