@@ -29,29 +29,34 @@ pub struct Unspecified;
2929pub struct Historic {
3030 pub ( crate ) from_block : BlockId ,
3131 pub ( crate ) to_block : BlockId ,
32+ /// Controls how many log-fetching RPC requests can run in parallel during the scan.
3233 pub ( crate ) max_concurrent_fetches : usize ,
3334}
3435pub struct Live {
3536 pub ( crate ) block_confirmations : u64 ,
37+ /// Controls how many log-fetching RPC requests can run in parallel during the scan.
3638 pub ( crate ) max_concurrent_fetches : usize ,
3739}
3840pub struct LatestEvents {
3941 pub ( crate ) count : usize ,
4042 pub ( crate ) from_block : BlockId ,
4143 pub ( crate ) to_block : BlockId ,
4244 pub ( crate ) block_confirmations : u64 ,
45+ /// Controls how many log-fetching RPC requests can run in parallel during the scan.
4346 pub ( crate ) max_concurrent_fetches : usize ,
4447}
4548#[ derive( Default ) ]
4649pub struct Synchronize ;
4750pub struct SyncFromLatestEvents {
4851 pub ( crate ) count : usize ,
4952 pub ( crate ) block_confirmations : u64 ,
53+ /// Controls how many log-fetching RPC requests can run in parallel during the scan.
5054 pub ( crate ) max_concurrent_fetches : usize ,
5155}
5256pub struct SyncFromBlock {
5357 pub ( crate ) from_block : BlockId ,
5458 pub ( crate ) block_confirmations : u64 ,
59+ /// Controls how many log-fetching RPC requests can run in parallel during the scan.
5560 pub ( crate ) max_concurrent_fetches : usize ,
5661}
5762
0 commit comments