Skip to content

Commit

Permalink
docs: move todo
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Feb 27, 2024
1 parent 016edc1 commit db9705c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/rs-drive-abci/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ fn main() -> Result<(), ExitCode> {
// TODO: We might want to limit worker threads
// TODO: Figure out how many blocking threads and grpc concurrency we should set
let runtime = Builder::new_multi_thread()
// TODO: 8 MB stack threads as some recursions in GroveDB can be pretty deep
// We could remove such a stack stack size once deletion of a node doesn't recurse in grovedb
.thread_stack_size(8 * 1024 * 1024)
.enable_all()
// TODO: We probably we want to have them bigger than concurrency limit in tonic to make
Expand All @@ -160,9 +162,6 @@ fn main() -> Result<(), ExitCode> {

install_panic_hook(cancel.clone());

// TODO: 8 MB stack threads as some recursions in GroveDB can be pretty deep
// We could remove such a stack stack size once deletion of a node doesn't recurse in grovedb

let runtime_guard = runtime.enter();

runtime.spawn(handle_signals(cancel.clone(), loggers));
Expand Down

0 comments on commit db9705c

Please sign in to comment.