Skip to content

Commit 847c78a

Browse files
committed
Added minimum value for responseTimeoutInSeconds.
1 parent d3e1dbb commit 847c78a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/iot-hub/iot-hub-devguide-direct-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Direct method invocations on a device are HTTPS calls that are made up of the fo
6868
}
6969
```
7070
71-
The value provided as `responseTimeoutInSeconds` in the request is the amount of time that IoT Hub service must await for completion of a direct method execution on a device. Set this timeout to be at least as long as the expected execution time of a direct method by a device. If timeout is not provided, it the default value of 30 seconds is used. The maximum value for `responseTimeoutInSeconds` is 300 seconds.
71+
The value provided as `responseTimeoutInSeconds` in the request is the amount of time that IoT Hub service must await for completion of a direct method execution on a device. Set this timeout to be at least as long as the expected execution time of a direct method by a device. If timeout is not provided, it the default value of 30 seconds is used. The minimum and maximum values for `responseTimeoutInSeconds` is 5 and 300 seconds, respectively.
7272
7373
The value provided as `connectTimeoutInSeconds` in the request is the amount of time that IoT Hub service must await for a disconnected device to come online. The default value is 0, meaning that devices must already be online upon invocation of a direct method. The maximum value for `connectTimeoutInSeconds` is 300 seconds.
7474

0 commit comments

Comments
 (0)