diff options
author | FxQnLr <[email protected]> | 2023-10-30 12:22:31 +0100 |
---|---|---|
committer | FxQnLr <[email protected]> | 2023-10-30 12:22:31 +0100 |
commit | 348cf5fbe4527865e8aa5cb719fd8790f4d8953e (patch) | |
tree | bddbd1dbc366f95861a6bdf99607fff46ff6133c /src/main.rs | |
parent | e3b622f5a918f6a4b5c3b67198ee7b72ef06062d (diff) | |
download | webol-348cf5fbe4527865e8aa5cb719fd8790f4d8953e.tar webol-348cf5fbe4527865e8aa5cb719fd8790f4d8953e.tar.gz webol-348cf5fbe4527865e8aa5cb719fd8790f4d8953e.zip |
changed pingmap tuple to own struct
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index ee540af..e96b736 100644 --- a/src/main.rs +++ b/src/main.rs | |||
@@ -50,7 +50,7 @@ async fn main() { | |||
50 | 50 | ||
51 | let (tx, _) = channel(32); | 51 | let (tx, _) = channel(32); |
52 | 52 | ||
53 | let ping_map: DashMap<String, (String, bool)> = DashMap::new(); | 53 | let ping_map: PingMap = DashMap::new(); |
54 | 54 | ||
55 | let shared_state = Arc::new(AppState { db, ping_send: tx, ping_map }); | 55 | let shared_state = Arc::new(AppState { db, ping_send: tx, ping_map }); |
56 | 56 | ||