fix!: remove possible panic from client builder
fix: simplify integer divisions
This commit is contained in:
parent
182f9ebfb8
commit
32b4800b46
9 changed files with 40 additions and 21 deletions
|
|
@ -16,7 +16,8 @@ pub async fn collect_video_dates(concurrency: usize) {
|
|||
let json_path = path!(*DICT_DIR / "timeago_samples_short.json");
|
||||
let rp = RustyPipe::builder()
|
||||
.visitor_data("Cgtwel9tMkh2eHh0USiyzc6jBg%3D%3D")
|
||||
.build();
|
||||
.build()
|
||||
.unwrap();
|
||||
|
||||
let channels = [
|
||||
"UCeY0bbntWzzVIaj2z3QigXg",
|
||||
|
|
|
|||
|
|
@ -134,6 +134,7 @@ fn rp_testfile(json_path: &Path) -> RustyPipe {
|
|||
.report()
|
||||
.strict()
|
||||
.build()
|
||||
.unwrap()
|
||||
}
|
||||
|
||||
async fn player() {
|
||||
|
|
@ -155,7 +156,7 @@ async fn player() {
|
|||
}
|
||||
|
||||
async fn player_model() {
|
||||
let rp = RustyPipe::builder().strict().build();
|
||||
let rp = RustyPipe::builder().strict().build().unwrap();
|
||||
|
||||
for (name, id) in [("multilanguage", "tVWWp1PqDus"), ("hdr", "LXb3EKWsInQ")] {
|
||||
let json_path =
|
||||
|
|
|
|||
Reference in a new issue