Unverified Commit 9f37b84d authored by Seth Hoenig's avatar Seth Hoenig Committed by GitHub
Browse files

Merge pull request #13870 from hashicorp/exp-fp-optimization

client: use test timeouts for network fingerprinters in dev mode
No related merge requests found
Showing with 2 additions and 0 deletions
+2 -0
......@@ -20,6 +20,7 @@ import (
sockaddr "github.com/hashicorp/go-sockaddr"
"github.com/hashicorp/go-sockaddr/template"
client "github.com/hashicorp/nomad/client/config"
"github.com/hashicorp/nomad/client/fingerprint"
"github.com/hashicorp/nomad/helper"
"github.com/hashicorp/nomad/nomad"
"github.com/hashicorp/nomad/nomad/structs"
......@@ -987,6 +988,7 @@ func DevConfig(mode *devModeConfig) *Config {
FunctionDenylist: client.DefaultTemplateFunctionDenylist,
DisableSandbox: false,
}
conf.Client.Options[fingerprint.TightenNetworkTimeoutsConfig] = "true"
conf.Client.BindWildcardDefaultHostNetwork = true
conf.Client.NomadServiceDiscovery = helper.BoolToPtr(true)
conf.Telemetry.PrometheusMetrics = true
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment