@@ -334,7 +334,7 @@ impl DeviceEndpointStatusReporter {
334334 device_endpoint_ref. device_name . clone ( ) ,
335335 device_endpoint_ref. inbound_endpoint_name . clone ( ) ,
336336 adr_device_status. clone ( ) ,
337- connector_context. default_timeout ,
337+ connector_context. azure_device_registry_timeout ,
338338 )
339339 . await
340340 . map_err ( |e| adr_error_into_retry_error ( e, "Update Device Status" ) )
@@ -442,7 +442,7 @@ impl DeviceEndpointClientCreationObservation {
442442 . observe_device_update_notifications (
443443 device_endpoint_ref. device_name . clone ( ) ,
444444 device_endpoint_ref. inbound_endpoint_name . clone ( ) ,
445- connector_context. default_timeout ,
445+ connector_context. azure_device_registry_timeout ,
446446 )
447447 // retry on network errors, otherwise don't retry on config/dev errors
448448 . await
@@ -464,7 +464,7 @@ impl DeviceEndpointClientCreationObservation {
464464 . get_device (
465465 device_endpoint_ref. device_name . clone ( ) ,
466466 device_endpoint_ref. inbound_endpoint_name . clone ( ) ,
467- connector_context. default_timeout ,
467+ connector_context. azure_device_registry_timeout ,
468468 )
469469 . await
470470 . map_err ( |e| adr_error_into_retry_error ( e, "Get Device Definition" ) )
@@ -493,7 +493,7 @@ impl DeviceEndpointClientCreationObservation {
493493 . get_device_status (
494494 device_endpoint_ref. device_name . clone ( ) ,
495495 device_endpoint_ref. inbound_endpoint_name . clone ( ) ,
496- connector_context. default_timeout ,
496+ connector_context. azure_device_registry_timeout ,
497497 )
498498 . await
499499 . map_err ( |e| adr_error_into_retry_error ( e, "Get Device Status" ) )
@@ -738,7 +738,7 @@ impl DeviceEndpointClient {
738738 asset_ref. device_name . clone ( ) ,
739739 asset_ref. inbound_endpoint_name . clone ( ) ,
740740 asset_ref. name . clone ( ) ,
741- connector_context. default_timeout ,
741+ connector_context. azure_device_registry_timeout ,
742742 )
743743 // retry on network errors, otherwise don't retry on config/dev errors
744744 . await
@@ -761,7 +761,7 @@ impl DeviceEndpointClient {
761761 asset_ref. device_name . clone ( ) ,
762762 asset_ref. inbound_endpoint_name . clone ( ) ,
763763 asset_ref. name . clone ( ) ,
764- connector_context. default_timeout ,
764+ connector_context. azure_device_registry_timeout ,
765765 )
766766 . await
767767 . map_err ( |e| adr_error_into_retry_error ( e, "Get Asset Definition" ) )
@@ -790,7 +790,7 @@ impl DeviceEndpointClient {
790790 asset_ref. device_name . clone ( ) ,
791791 asset_ref. inbound_endpoint_name . clone ( ) ,
792792 asset_ref. name . clone ( ) ,
793- connector_context. default_timeout ,
793+ connector_context. azure_device_registry_timeout ,
794794 )
795795 . await
796796 . map_err ( |e| adr_error_into_retry_error ( e, "Get Asset Status" ) )
@@ -851,7 +851,7 @@ impl DeviceEndpointClient {
851851 . unobserve_device_update_notifications (
852852 device_endpoint_ref. device_name . clone ( ) ,
853853 device_endpoint_ref. inbound_endpoint_name . clone ( ) ,
854- connector_context. default_timeout ,
854+ connector_context. azure_device_registry_timeout ,
855855 )
856856 // retry on network errors, otherwise don't retry on config/dev errors
857857 . await
@@ -1006,7 +1006,7 @@ impl AssetStatusReporter {
10061006 asset_ref. inbound_endpoint_name . clone ( ) ,
10071007 asset_ref. name . clone ( ) ,
10081008 adr_asset_status. clone ( ) ,
1009- connector_context. default_timeout ,
1009+ connector_context. azure_device_registry_timeout ,
10101010 )
10111011 . await
10121012 . map_err ( |e| adr_error_into_retry_error ( e, & format ! ( "Update Asset Status for {log_identifier}" ) ) )
@@ -1737,7 +1737,7 @@ impl AssetClient {
17371737 asset_ref. device_name . clone ( ) ,
17381738 asset_ref. inbound_endpoint_name . clone ( ) ,
17391739 asset_ref. name . clone ( ) ,
1740- connector_context. default_timeout ,
1740+ connector_context. azure_device_registry_timeout ,
17411741 )
17421742 // retry on network errors, otherwise don't retry on config/dev errors
17431743 . await
@@ -2297,7 +2297,7 @@ impl DataOperationClient {
22972297 . schema_registry_client
22982298 . put (
22992299 new_message_schema. clone ( ) ,
2300- self . connector_context . default_timeout ,
2300+ self . connector_context . schema_registry_timeout ,
23012301 )
23022302 . await
23032303 . map_err ( |e| {
0 commit comments