Skip to content

Commit 6eccbc8

Browse files
dev: CommandTimeout is set to 30 seconds
1 parent 21517c6 commit 6eccbc8

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
1+
- CommandTimeout is set to 30 seconds by default (as NpgsqlCommand).
2+
13
## v0.15.3
4+
25
- Added SeqNo to `Ydb.Sdk.Services.Topic.Reader.Message`.
36

47
## v0.15.2
8+
59
- Added SeqNo to `WriteResult`.
610
- Changed signature of the `TopicClient.DropTopic` method.
711

812
## v0.15.1
9-
- Fixed Writer: possible creation of a session after `DisposeAsync()`, which this could happen when there are canceled tasks in `InFlightMessages`.
13+
14+
- Fixed Writer: possible creation of a session after `DisposeAsync()`, which this could happen when there are canceled
15+
tasks in `InFlightMessages`.
1016
- Dev: `Writer.MoveNext()` changed exception on cancelToken from `WriterException` to `TaskCanceledException`.
1117
- Dev: changed log level from `Warning` to `Information` in `(Reader / Writer).Initialize()` when it is disposed.
1218

1319
## v0.15.0
20+
1421
- Dev: added `ValueTask<string?> GetAuthInfoAsync()` in ICredentialProvider.
1522
- Feat: `Writer.DisposeAsync()` waits for all in-flight messages to complete.
1623
- Feat: `Reader.DisposeAsync()` waits for all pending commits to be completed.

src/Ydb.Sdk/src/Ado/YdbCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public override int CommandTimeout
106106
}
107107
}
108108

109-
private int _timeout;
109+
private int _timeout = 30;
110110

111111
public override CommandType CommandType { get; set; } = CommandType.Text;
112112
public override UpdateRowSource UpdatedRowSource { get; set; }

0 commit comments

Comments
 (0)