chore: upgrade tonic and add timezone to region request header (#148)

* chore: upgrade tonic to 0.11

* Region request should eval timezone info, too.
This commit is contained in:
LFC
2024-04-19 11:20:56 +08:00
committed by GitHub
parent e04700efd3
commit 73ac0207ab
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
strum = "0.25" strum = "0.25"
strum_macros = "0.25" strum_macros = "0.25"
tonic = "0.10" tonic = "0.11"
[build-dependencies] [build-dependencies]
tonic-build = "0.10" tonic-build = "0.11"
+2
View File
@@ -32,6 +32,8 @@ message RegionRequestHeader {
map<string, string> tracing_context = 5; map<string, string> tracing_context = 5;
// DB Name of request, tracking only // DB Name of request, tracking only
string dbname = 3; string dbname = 3;
// The `timezone` for the request
string timezone = 4;
} }
message RegionRequest { message RegionRequest {