Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Strokov <pstrokov@gitlab.com>2022-08-05 10:13:43 +0300
committerPavlo Strokov <pstrokov@gitlab.com>2022-08-09 15:27:57 +0300
commit8f9dd5ab576c6f4d373258a389723d09b041d638 (patch)
tree3fb2cfeb77d392525882d384cb7954d6c1950967 /ruby/proto
parentbb2ca12ef31223e8dd7cc0a97b05a5c66c199c42 (diff)
proto: Introduce drift_threshold to replace drift_threshold_millis
The existing drift_threshold_millis field uses int64 type, but instead it should be of type google.protobuf.Duration. The new field drift_threshold of the proper type added to be used instead. Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/4412
Diffstat (limited to 'ruby/proto')
-rw-r--r--ruby/proto/gitaly/server_pb.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby/proto/gitaly/server_pb.rb b/ruby/proto/gitaly/server_pb.rb
index e1455d25c..291941601 100644
--- a/ruby/proto/gitaly/server_pb.rb
+++ b/ruby/proto/gitaly/server_pb.rb
@@ -35,6 +35,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "gitaly.ClockSyncedRequest" do
optional :ntp_host, :string, 1
optional :drift_threshold_millis, :int64, 2
+ optional :drift_threshold, :message, 3, "google.protobuf.Duration"
end
add_message "gitaly.ClockSyncedResponse" do
optional :synced, :bool, 1