feat(indexing): add catchup task, refactor task handling, and improve reorg error logic #140
Annotations
1 warning
the `Err`-variant returned from this function is very large:
src/indexer/mod.rs#L40
warning: the `Err`-variant returned from this function is very large
--> src/indexer/mod.rs:40:55
|
40 | pub fn try_new(env: &Environment, args: &Args) -> IndexerResult<Self> {
| ^^^^^^^^^^^^^^^^^^^
|
::: src/indexer/error.rs:17:5
|
17 | SyncingTaskError(#[from] IndexingError),
| --------------------------------------- the largest variant contains at least 192 bytes
...
21 | SyncingTaskMessageSendFailure(#[from] SendError<IndexerTaskMessage>),
| -------------------------------------------------------------------- the variant `SyncingTaskMessageSendFailure` contains at least 192 bytes
|
= help: try reducing the size of `indexer::error::IndexerError`, for example by boxing large elements or replacing it with `Box<indexer::error::IndexerError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|