Skip to content

Commit

Permalink
fix(service): ms intervals treated as seconds (#78)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Asseman <[email protected]>
  • Loading branch information
aasseman authored Oct 20, 2023
1 parent 66e1dc0 commit cae9f29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async fn main() -> Result<(), std::io::Error> {
network_subgraph,
config.ethereum.indexer_address,
1,
Duration::from_secs(config.network_subgraph.allocation_syncing_interval),
Duration::from_millis(config.network_subgraph.allocation_syncing_interval),
);

// TODO: Chain ID should be a config
Expand Down Expand Up @@ -118,7 +118,7 @@ async fn main() -> Result<(), std::io::Error> {
let escrow_accounts = escrow_accounts(
escrow_subgraph,
config.ethereum.indexer_address,
Duration::from_secs(config.escrow_subgraph.escrow_syncing_interval),
Duration::from_millis(config.escrow_subgraph.escrow_syncing_interval),
);

let tap_manager = TapManager::new(
Expand Down

0 comments on commit cae9f29

Please sign in to comment.