Skip to content

Commit

Permalink
Attach temporal-namespace header to namespace requests (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushisource authored Jul 30, 2024
1 parent 2bc8d7f commit 11de613
Show file tree
Hide file tree
Showing 3 changed files with 175 additions and 75 deletions.
1 change: 1 addition & 0 deletions client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ use uuid::Uuid;

static CLIENT_NAME_HEADER_KEY: &str = "client-name";
static CLIENT_VERSION_HEADER_KEY: &str = "client-version";
static TEMPORAL_NAMESPACE_HEADER_KEY: &str = "temporal-namespace";
/// These must match the gRPC method names, not the snake case versions that exist in the Rust code.
static LONG_POLL_METHOD_NAMES: [&str; 3] = [
"PollWorkflowTaskQueue",
Expand Down
Loading

0 comments on commit 11de613

Please sign in to comment.