File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -219,14 +219,16 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
219219 let file = std:: fs:: File :: open ( entry. path ( ) ) ?;
220220 let mut paper: Paper = serde_yml:: from_reader ( file) ?;
221221
222- update_paper_from_arxiv ( & mut paper, 4 ) . await ?;
223- //update_paper_from_dblp(&mut paper, 4).await?;
222+ println ! ( "Updating {}" , paper. title) ;
223+
224+ update_paper_from_arxiv ( & mut paper, 5 ) . await ?;
225+ update_paper_from_dblp ( & mut paper, 5 ) . await ?;
224226
225227 let file = std:: fs:: File :: create ( entry. path ( ) ) ?;
226228 let mut writer = BufWriter :: new ( file) ;
227229 serde_yml:: to_writer ( & mut writer, & paper) ?;
228230 writer. flush ( ) ?;
229- sleep ( Duration :: from_millis ( 1000 ) ) . await ;
231+ sleep ( Duration :: from_millis ( 15000 ) ) . await ;
230232 }
231233
232234 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments