Skip to content

Commit 1399073

Browse files
Add transaction timeout to options (#149)
## What is the goal of this PR? To implement transaction timeouts (typedb/typedb#6487), we need to allow the user to configure the transaction timeout. This PR adds it to the protocol option to adjust the default transaction timeout. ## What are the changes implemented in this PR? * Add `transaction_timeout_millis` to the options protocol object
1 parent 75fafa0 commit 1399073

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

common/options.proto

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,13 @@ message Options {
4747
oneof session_idle_timeout_opt {
4848
int32 session_idle_timeout_millis = 7;
4949
}
50+
oneof transaction_timeout_opt {
51+
int32 transaction_timeout_millis = 8;
52+
}
5053
oneof schema_lock_acquire_timeout_opt {
51-
int32 schema_lock_acquire_timeout_millis = 8;
54+
int32 schema_lock_acquire_timeout_millis = 9;
5255
}
5356
oneof read_any_replica_opt {
54-
bool read_any_replica = 9;
57+
bool read_any_replica = 10;
5558
}
5659
}

0 commit comments

Comments
 (0)