Skip to content

Commit 3ccdfcc

Browse files
* Update CHANGELOG.md
* Delete default timeout in YdbCommand * Refactoring publish.sh
1 parent 2791bef commit 3ccdfcc

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

.github/scripts/publish.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,8 @@ LAST_TAG=$(git tag | tail -n 1);
1212
MAJOR=$(echo $LAST_TAG | sed -E 's/v([0-9]+)\..*/\1/');
1313
MINOR=$(echo $LAST_TAG | sed -E 's/v[0-9]+\.([0-9]+)\..*/\1/');
1414
PATCH=$(echo $LAST_TAG | sed -E 's/v[0-9]+\.[0-9]+\.([0-9]+)-rc[0-9]+/\1/');
15-
RC=0;
15+
RC=$(git tag | grep "v$MAJOR.$MINOR.$PATCH-rc" | wc -l | xargs || true);
1616

17-
if [ "$RELEASE_CANDIDATE" = true ]
18-
then
19-
RC=$(git tag | grep "v$MAJOR.$MINOR.$PATCH-rc" | wc -l | xargs || true);
20-
fi
2117
if [ "$VERSION_CHANGE" = "MINOR" ] && [ $RC = 0 ]
2218
then
2319
MINOR=$((MINOR+1));

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
- Writer client for YDB topics
2+
- Fix: delete default timeout grpc.deadline
3+
14
## v0.9.0-rc1
25
- Topic Writer updated release candidate:
36
* Do not send messages that have a timeout by cancelToken.

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,6 @@ public override string CommandText
7575
}
7676
}
7777

78-
/// <summary>
79-
/// The time to wait (in seconds) while trying to execute a command before terminating the attempt and generating an error.
80-
/// Set to zero for infinity.
81-
/// </summary>
82-
/// <value>
83-
/// The time (in seconds) to wait for the command to execute. The default value is 30 seconds.
84-
/// </value>
8578
public override int CommandTimeout
8679
{
8780
get => _timeout;
@@ -96,7 +89,7 @@ public override int CommandTimeout
9689
}
9790
}
9891

99-
private int _timeout = 30;
92+
private int _timeout;
10093

10194
public override CommandType CommandType { get; set; } = CommandType.Text;
10295
public override UpdateRowSource UpdatedRowSource { get; set; }

0 commit comments

Comments
 (0)