Skip to content

Commit

Permalink
Increase drop consumer timeout
Browse files Browse the repository at this point in the history
Signed-off-by: sashayakovtseva <[email protected]>
  • Loading branch information
sashayakovtseva committed Mar 5, 2024
1 parent 34ab658 commit c9ad489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/datastore/ydb/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func (y *ydbDatastore) watch(
return
}
defer func(topic string) {
ctx, cancel := context.WithTimeout(context.Background(), time.Millisecond*500)
ctx, cancel := context.WithTimeout(context.Background(), time.Second*3)
defer cancel()

err := y.driver.Topic().Alter(ctx, topic, topicoptions.AlterWithDropConsumers(consumerUUID))
Expand Down

0 comments on commit c9ad489

Please sign in to comment.