Added limits for the amount of workers for /export and /import and moved out async blocks out of them into sepparate functions

This commit is contained in:
2023-06-09 18:05:45 +03:00
parent b0f4d1927a
commit cc02d91c03
4 changed files with 138 additions and 53 deletions

View File

@@ -22,6 +22,7 @@ itertools = "0.10.5"
log = "0.4.17"
migration = { version = "0.2.0", path = "migration" }
pretty_env_logger = "0.5.0"
rayon = "1.7.0"
sea-orm = { version = "0.11.3", features = ["sqlx-mysql", "runtime-tokio-rustls"] }
serde = "1.0.163"
serde_json = "1.0.96"