aboutsummaryrefslogtreecommitdiff
path: root/src/client/bridge/gateway/shard_queuer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/bridge/gateway/shard_queuer.rs')
-rw-r--r--src/client/bridge/gateway/shard_queuer.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/bridge/gateway/shard_queuer.rs b/src/client/bridge/gateway/shard_queuer.rs
index 30a0906..461fdd1 100644
--- a/src/client/bridge/gateway/shard_queuer.rs
+++ b/src/client/bridge/gateway/shard_queuer.rs
@@ -16,6 +16,7 @@ use super::{
};
use threadpool::ThreadPool;
use typemap::ShareMap;
+use ::gateway::ConnectionStage;
#[cfg(feature = "framework")]
use framework::Framework;
@@ -184,7 +185,9 @@ impl<H: EventHandler + Send + Sync + 'static> ShardQueuer<H> {
}};
let runner_info = ShardRunnerInfo {
+ latency: None,
runner_tx: runner.runner_tx(),
+ stage: ConnectionStage::Disconnected,
};
thread::spawn(move || {