@@ -730,7 +730,7 @@ impl Batcher {
730730 let user_states_guard = match timeout ( MESSAGE_HANDLER_LOCK_TIMEOUT , self . user_states . read ( ) ) . await {
731731 Ok ( guard) => guard,
732732 Err ( _) => {
733- warn ! ( "User states read lock acquisition timed out" ) ;
733+ warn ! ( "User states read lock acquisition timed out in handle_get_nonce_for_address_msg " ) ;
734734 self . metrics . inc_message_handler_user_states_lock_timeouts ( ) ;
735735 send_message ( ws_conn_sink, GetNonceResponseMessage :: ServerBusy ) . await ;
736736 return Ok ( ( ) ) ;
@@ -864,7 +864,7 @@ impl Batcher {
864864 let is_user_in_state = match timeout ( MESSAGE_HANDLER_LOCK_TIMEOUT , self . user_states . read ( ) ) . await {
865865 Ok ( user_states_guard) => user_states_guard. contains_key ( & addr) ,
866866 Err ( _) => {
867- warn ! ( "User states read lock acquisition timed out" ) ;
867+ warn ! ( "User states read lock acquisition timed out in handle_submit_proof_msg (user check) " ) ;
868868 self . metrics . inc_message_handler_user_states_lock_timeouts ( ) ;
869869 send_message ( ws_conn_sink, SubmitProofResponseMessage :: ServerBusy ) . await ;
870870 return Ok ( ( ) ) ;
@@ -896,7 +896,7 @@ impl Batcher {
896896 user_states_guard. insert ( addr, Arc :: new ( Mutex :: new ( dummy_user_state) ) ) ;
897897 }
898898 Err ( _) => {
899- warn ! ( "User states write lock acquisition timed out" ) ;
899+ warn ! ( "User states write lock acquisition timed out in handle_submit_proof_msg (user creation) " ) ;
900900 self . metrics . inc_message_handler_user_states_lock_timeouts ( ) ;
901901 send_message ( ws_conn_sink, SubmitProofResponseMessage :: ServerBusy ) . await ;
902902 return Ok ( ( ) ) ;
@@ -908,7 +908,7 @@ impl Batcher {
908908 let user_state_ref = match timeout ( MESSAGE_HANDLER_LOCK_TIMEOUT , self . user_states . read ( ) ) . await {
909909 Ok ( user_states_guard) => user_states_guard. get ( & addr) . cloned ( ) ,
910910 Err ( _) => {
911- warn ! ( "User states read lock acquisition timed out" ) ;
911+ warn ! ( "User states read lock acquisition timed out in handle_submit_proof_msg (user retrieval) " ) ;
912912 self . metrics . inc_message_handler_user_states_lock_timeouts ( ) ;
913913 send_message ( ws_conn_sink, SubmitProofResponseMessage :: ServerBusy ) . await ;
914914 return Ok ( ( ) ) ;
0 commit comments