Skip to content

Commit

Permalink
A quick fix to stop our CI timing out on metadata fetch.
Browse files Browse the repository at this point in the history
This is a (hopefully) temporary measure while the issue is being looked at upstream:

segmentio#112
  • Loading branch information
Jtalk committed Dec 9, 2022
1 parent 6f08dba commit 303a561
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/admin/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ func NewConnector(config ConnectorConfig) (*Connector, error) {
Dial: connector.Dialer.DialFunc,
SASL: mechanismClient,
TLS: tlsConfig,
// Hotfix for https://github.com/segmentio/topicctl/issues/112
MetadataTTL: 10 * time.Minute,
},
}

Expand Down

0 comments on commit 303a561

Please sign in to comment.