Differentiate logging between region_list and cur_region on request

This commit is contained in:
Nobody 2022-02-17 23:04:41 +05:00
parent 616035373d
commit 29996242ac

View File

@ -209,7 +209,7 @@ impl DispatchServer {
} }
async fn query_region_list(c: web::Query<ClientInfo>) -> String { async fn query_region_list(c: web::Query<ClientInfo>) -> String {
println!("Client: {:?}", c); println!("RegionList, Client: {:?}", c);
let keys = DispatchServer::load_keys("master"); let keys = DispatchServer::load_keys("master");
@ -242,7 +242,7 @@ impl DispatchServer {
} }
async fn query_cur_region(c: web::Query<ClientInfo>) -> String { async fn query_cur_region(c: web::Query<ClientInfo>) -> String {
println!("Client: {:?}", c); println!("CurRegion, Client: {:?}", c);
let keys = DispatchServer::load_keys("master"); let keys = DispatchServer::load_keys("master");