price-reporter: Make misc reliability improvements #177
Annotations
2 errors and 2 warnings
unused `async` for function with no await statements:
price-reporter/src/main.rs#L127
error: unused `async` for function with no await statements
--> price-reporter/src/main.rs:127:1
|
127 | / async fn init_price_streams(
128 | | base_token: Token,
129 | | quote_token: Token,
130 | | exchange: Exchange,
... |
144 | | Ok(())
145 | | }
| |_^
|
= help: consider removing the `async` from this function
note: `await` used in an async block, which does not require the enclosing function to be `async`
--> price-reporter/src/main.rs:137:95
|
137 | if let Err(e) = streams.get_or_create_price_stream(pair_info.clone(), config.clone()).await
| ^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async
= note: requested on the command line with `-D clippy::unused-async`
|
clippy-check
Clippy had exited with the 101 exit code
|
clippy-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy-check
The following actions use a deprecated Node.js version and will be forced to run on node20: arduino/setup-protoc@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|