This commit is contained in:
Aleksey Kladov
2020-06-26 00:54:41 +02:00
parent dd5841556c
commit 5f6f994256
2 changed files with 4 additions and 8 deletions

View File

@@ -44,8 +44,7 @@ pub fn main_loop(config: Config, connection: Connection) -> Result<()> {
SetThreadPriority(thread, thread_priority_above_normal);
}
GlobalState::new(connection.sender.clone(), config.lru_capacity, config)
.run(connection.receiver)
GlobalState::new(connection.sender.clone(), config).run(connection.receiver)
}
enum Event {