Skip to content

Commit

Permalink
Update DEFAULT_WORKER_THREADS to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Srlion authored Jan 11, 2025
1 parent f0549a9 commit 58d115f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub const GLOBAL_TABLE_NAME: &str = {
pub const GLOBAL_TABLE_NAME_C: LuaCStr = cstr_from_args!(GLOBAL_TABLE_NAME);

// How many threads to use for the runtime
pub const DEFAULT_WORKER_THREADS: u16 = 2;
pub const DEFAULT_WORKER_THREADS: u16 = 1;

// How long to wait for pending tasks to complete before unloading
pub const TASKS_WAITING_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(15);

0 comments on commit 58d115f

Please sign in to comment.