mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-20 00:03:21 +00:00
clearer comment
This commit is contained in:
@@ -883,7 +883,8 @@ pub struct WorkerInternalServerInlineUtils {
|
||||
>,
|
||||
}
|
||||
// To run a script inline, bypassing the db and job queue, windmill-api uses these functions.
|
||||
// windmill-worker sets these functions when it starts up.
|
||||
// The api cannot call the worker functions directly because they are independent crates
|
||||
// They should only be called by the internal server of a worker.
|
||||
// main() sets the global on startup.
|
||||
// The server cannot call the worker functions directly because they are independent crates
|
||||
pub static WORKER_INTERNAL_SERVER_INLINE_UTILS: OnceCell<WorkerInternalServerInlineUtils> =
|
||||
OnceCell::new();
|
||||
|
||||
Reference in New Issue
Block a user