diff --git a/changelog/12443.txt b/changelog/12443.txt new file mode 100644 index 000000000..601414053 --- /dev/null +++ b/changelog/12443.txt @@ -0,0 +1,3 @@ +```release-note:bug +secrets/database/cassandra: change connect_timeout to 5s as documentation says +``` diff --git a/plugins/database/cassandra/connection_producer.go b/plugins/database/cassandra/connection_producer.go index db8ea4f64..72f7bb878 100644 --- a/plugins/database/cassandra/connection_producer.go +++ b/plugins/database/cassandra/connection_producer.go @@ -60,7 +60,7 @@ func (c *cassandraConnectionProducer) Initialize(ctx context.Context, req dbplug } if c.ConnectTimeoutRaw == nil { - c.ConnectTimeoutRaw = "0s" + c.ConnectTimeoutRaw = "5s" } c.connectTimeout, err = parseutil.ParseDurationSecond(c.ConnectTimeoutRaw) if err != nil {