Skip to content

Commit

Permalink
storage: reduce scheduler msgs (#3583)
Browse files Browse the repository at this point in the history
Signed-off-by: Neil Shen <overvenus@gmail.com>
  • Loading branch information
overvenus committed Sep 14, 2018
1 parent f6d0e24 commit 597b89c
Show file tree
Hide file tree
Showing 3 changed files with 416 additions and 393 deletions.
4 changes: 2 additions & 2 deletions src/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ pub struct Storage<E: Engine> {
engine: E,

// to schedule the execution of storage commands
worker: Arc<Mutex<Worker<Msg<E>>>>,
worker_scheduler: worker::Scheduler<Msg<E>>,
worker: Arc<Mutex<Worker<Msg>>>,
worker_scheduler: worker::Scheduler<Msg>,

read_pool: ReadPool<ReadPoolContext>,
gc_worker: GCWorker<E>,
Expand Down

0 comments on commit 597b89c

Please sign in to comment.