Skip to content

Commit

Permalink
Merge pull request #45 from dfinity/rjb/call-v3-to-sync-call
Browse files Browse the repository at this point in the history
chore: rename call_v3 to sync_call for logging
  • Loading branch information
blind-oracle authored Oct 7, 2024
2 parents 3b66140 + d021996 commit 890373c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/metrics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ fn infer_request_type(path: &str) -> RequestType {
match path {
"/api/v2/canister/:principal/query" => RequestType::Api(RequestTypeApi::Query),
"/api/v2/canister/:principal/call" => RequestType::Api(RequestTypeApi::Call),
"/api/v3/canister/:principal/call" => RequestType::Api(RequestTypeApi::CallV3),
"/api/v3/canister/:principal/call" => RequestType::Api(RequestTypeApi::SyncCall),
"/api/v2/canister/:principal/read_state" => RequestType::Api(RequestTypeApi::ReadState),
"/api/v2/subnet/:principal/read_state" => RequestType::Api(RequestTypeApi::ReadStateSubnet),
"/api/v2/status" => RequestType::Api(RequestTypeApi::Status),
Expand Down
2 changes: 1 addition & 1 deletion src/routing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub enum RequestTypeApi {
Status,
Query,
Call,
CallV3,
SyncCall,
ReadState,
ReadStateSubnet,
}
Expand Down

0 comments on commit 890373c

Please sign in to comment.