-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change flags `lookup_interval` and `lookup_timeout` to `--interval` and `--timeout` now support relative block (default is now: -1) and does not use 'final-blocks-only' flag on request add `--max-freshness` flag to check for block age (when using relative block) add `substreams_healthcheck_block_age_ms` prometheus metric `--block-height` is now a flag instead of a positional argument improve logging removed "3 retries" that were built in and causing more confusion
- Loading branch information
1 parent
36c2750
commit 67cdfa0
Showing
6 changed files
with
102 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
package main | ||
|
||
import "github.com/streamingfast/substreams/tools" | ||
import ( | ||
"github.com/spf13/cobra" | ||
"github.com/streamingfast/substreams/tools" | ||
"go.uber.org/zap/zapcore" | ||
) | ||
|
||
func init() { | ||
tools.Cmd.PersistentPreRun = func(cmd *cobra.Command, _ []string) { | ||
Setup(cmd, zapcore.InfoLevel) | ||
} | ||
rootCmd.AddCommand(tools.Cmd) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters