Actually ping telegram again
This commit is contained in:
parent
55420793e6
commit
5b18b3e6d2
|
@ -115,6 +115,8 @@ async fn async_main() {
|
||||||
}
|
}
|
||||||
Err(err) => eprintln!("Failed to get seen videos message: {:?}", err),
|
Err(err) => eprintln!("Failed to get seen videos message: {:?}", err),
|
||||||
};
|
};
|
||||||
|
// Pings are sent when stepping
|
||||||
|
tokio::task::spawn(tclient.clone().run_until_disconnected());
|
||||||
let seen_videos = Arc::new(RwLock::new(seen_videos.unwrap_or_default()));
|
let seen_videos = Arc::new(RwLock::new(seen_videos.unwrap_or_default()));
|
||||||
let tmp_handled = Arc::new(Mutex::new(HashSet::new()));
|
let tmp_handled = Arc::new(Mutex::new(HashSet::new()));
|
||||||
let video_semaphore = Arc::new(Semaphore::new(0));
|
let video_semaphore = Arc::new(Semaphore::new(0));
|
||||||
|
|
Loading…
Reference in New Issue