1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-29 01:50:35 +02:00

update deps

This commit is contained in:
Nikolay Kim
2019-01-26 13:15:17 -08:00
parent ff6ac0a67f
commit 84bd257b86
11 changed files with 45 additions and 58 deletions

View File

@ -42,7 +42,7 @@ impl<T: RequestHost> Resolver<T> {
/// Create new resolver instance with custom configuration and options.
pub fn new(cfg: ResolverConfig, opts: ResolverOpts) -> Self {
let (resolver, bg) = AsyncResolver::new(cfg, opts);
actix_rt::Arbiter::spawn(bg);
tokio_current_thread::spawn(bg);
Resolver {
resolver,
req: PhantomData,