update get_response
This commit is contained in:
@@ -26,7 +26,7 @@ fn main() {
|
||||
web_parser::download_images(idx, &name);
|
||||
idx += 1;
|
||||
}
|
||||
file::write_file("cache/index", Bytes::from(idx.to_string())).expect(&format!("Write index error: {}", idx));
|
||||
thread::sleep(Duration::from_millis(300));
|
||||
}
|
||||
file::write_file("cache/index", Bytes::from(idx.to_string())).expect(&format!("Write index error: {}", idx));
|
||||
}
|
||||
Reference in New Issue
Block a user