perf(backend): use mutex for nsfw model loading (#97)

Co-authored-by: popkirby <popkirby@gmail.com>
This commit is contained in:
riku6460 2023-07-06 03:37:35 +09:00 committed by GitHub
parent 3e93450fd4
commit f7ad3e847a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 99 additions and 78 deletions

View file

@ -75,6 +75,7 @@
"accepts": "1.3.8",
"ajv": "8.12.0",
"archiver": "5.3.1",
"async-mutex": "^0.4.0",
"autwh": "0.1.0",
"bcryptjs": "2.4.3",
"blurhash": "2.0.5",