Skip to content

Commit 5464693

Browse files
committed
f Add worker count 'rationale'
1 parent f97766c commit 5464693

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/io/vss_store.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ type CustomRetryPolicy = FilteredRetryPolicy<
4444
Box<dyn Fn(&VssError) -> bool + 'static + Send + Sync>,
4545
>;
4646

47+
// We set this to a small number of threads that would still allow to make some progress if one
48+
// would hit a blocking case
4749
const INTERNAL_RUNTIME_WORKERS: usize = 2;
4850
const VSS_IO_TIMEOUT: Duration = Duration::from_secs(5);
4951

0 commit comments

Comments
 (0)