fix: use sled main to avoid deadlock

This commit is contained in:
Timo Kösters 2021-04-07 17:58:33 +02:00
parent f3f95a73d0
commit 51aa6448bc
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
2 changed files with 69 additions and 58 deletions

View file

@ -32,7 +32,9 @@ state-res = { git = "https://github.com/ruma/state-res", rev = "af450d0fe2b0e1c8
# Used for long polling and federation sender, should be the same as rocket::tokio
tokio = "1.2.0"
# Used for storing data permanently
sled = { version = "0.34.6", default-features = false, features = ["compression"] }
#sled = { version = "0.34.6", default-features = false, features = ["compression"] }
sled = { git = "https://github.com/spacejam/sled.git", rev = "e4640e0773595229f398438886f19bca6f7326a2", features = ["compression"] }
# Used for emitting log entries
log = "0.4.14"
# Used for rocket<->ruma conversions