rust-doctor · Framework
actix-web-data-lock
Detect blocking shared-state locks inside actix-web handlers
- Severity
- warning
- Confidence
- medium
- Analyzer
- syn-ast
- Default policy
- Opt-in
Tags
Framework requirements
actix-web >=4,<5
Limitations
- Syntactic analysis does not have rustc name resolution or inferred type information.
Remediation
Use an async-aware lock or move short blocking work behind web::block.
Fix capability: guidance