Skip to content

Commit

Permalink
fix node only mode
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout committed Dec 14, 2024
1 parent a290961 commit ca76333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dipdup/indexes/_subsquid.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async def _get_node_sync_level(
subsquid_lag = abs(node_sync_level - subsquid_level)
subsquid_available = subsquid_level - index_level
self._logger.info('Subsquid is %s levels behind; %s available', subsquid_lag, subsquid_available)
if subsquid_available < node.NODE_LAST_MILE:
if subsquid_available <= node.NODE_LAST_MILE:
return node_sync_level
return None

Expand Down

0 comments on commit ca76333

Please sign in to comment.