Skip to content

Commit

Permalink
horizon: Highlight that Ingestion Filtering is experimental (#4411)
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio authored May 26, 2022
1 parent 69b7d7a commit c6d3b04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions services/horizon/internal/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@ func Flags() (*Config, support.ConfigOptions) {
ConfigKey: &config.EnableCaptiveCoreIngestion,
},
&support.ConfigOption{
Name: "enable-ingestion-filtering",
Name: "exp-enable-ingestion-filtering",
OptType: types.Bool,
FlagDefault: false,
Required: false,
Usage: "causes Horizon to enable Ingestion filtering and the ingestion admin HTTP endpoint at /ingestion/filter",
Usage: "causes Horizon to enable the experimental Ingestion Filtering and the ingestion admin HTTP endpoint at /ingestion/filter",
ConfigKey: &config.EnableIngestionFiltering,
},
&support.ConfigOption{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ func TestFilteringAccountWhiteList(t *testing.T) {
const adminPort uint16 = 6000
itest := integration.NewTest(t, integration.Config{
HorizonParameters: map[string]string{
"admin-port": strconv.Itoa(int(adminPort)),
"enable-ingestion-filtering": "true",
"admin-port": strconv.Itoa(int(adminPort)),
"exp-enable-ingestion-filtering": "true",
},
})

Expand Down Expand Up @@ -94,8 +94,8 @@ func TestFilteringAssetWhiteList(t *testing.T) {
const adminPort uint16 = 6000
itest := integration.NewTest(t, integration.Config{
HorizonParameters: map[string]string{
"admin-port": strconv.Itoa(int(adminPort)),
"enable-ingestion-filtering": "true",
"admin-port": strconv.Itoa(int(adminPort)),
"exp-enable-ingestion-filtering": "true",
},
})

Expand Down

0 comments on commit c6d3b04

Please sign in to comment.