chore: Remove unnecessary request context copying in threads
Eliminates the usage of Flask's `copy_current_request_context` decorator for thread creation across multiple app generators. The change simplifies thread initialization by directly passing necessary context and parameters to the worker function. This refactoring reduces complexity and potential overhead associated with copying request contexts when not required. Signed-off-by: -LAN- <laipz8200@outlook.com>pull/21061/head
parent
28f2bf645d
commit
22e945a267
Loading…
Reference in New Issue