From a02b5052ae81bd5a955588ed4b36959d21801ab4 Mon Sep 17 00:00:00 2001 From: MyBlackMIDIScore Date: Thu, 8 Aug 2024 16:55:09 +0300 Subject: [PATCH] Oops --- core/src/channel_group/config.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/channel_group/config.rs b/core/src/channel_group/config.rs index 71db390..9b8a638 100644 --- a/core/src/channel_group/config.rs +++ b/core/src/channel_group/config.rs @@ -42,12 +42,12 @@ pub struct ParallelismOptions { } impl ParallelismOptions { - const AUTO_PER_KEY: Self = ParallelismOptions { + pub const AUTO_PER_KEY: Self = ParallelismOptions { channel: ThreadCount::None, key: ThreadCount::Auto, }; - const AUTO_PER_CHANNEL: Self = ParallelismOptions { + pub const AUTO_PER_CHANNEL: Self = ParallelismOptions { channel: ThreadCount::Auto, key: ThreadCount::None, }; @@ -58,7 +58,7 @@ impl Default for ParallelismOptions { ParallelismOptions { channel: ThreadCount::Auto, key: ThreadCount::Auto, - } + } } }