Update to tokio 1.0, bytes 1.0 (#1076)
Co-authored-by: Wim Looman <git@nemo157.com> Co-authored-by: Paolo Barbolini <paolo@paolo565.org>
This commit is contained in:
		| @@ -44,8 +44,7 @@ where | ||||
| { | ||||
|     //Spawn new runtime in thread to prevent reactor execution context conflict | ||||
|     thread::spawn(move || { | ||||
|         let mut rt = runtime::Builder::new() | ||||
|             .basic_scheduler() | ||||
|         let rt = runtime::Builder::new_current_thread() | ||||
|             .enable_all() | ||||
|             .build() | ||||
|             .expect("new rt"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user