Skip to content

Commit 6fc83c8

Browse files
authored
Merge pull request #1009 from fabik111/reduce-dns-timeout
Reduce nsapi dns response timeout: 5 seconds 3 retires
2 parents fe0b901 + 1601545 commit 6fc83c8

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

variants/GIGA/conf/mbed_app.json

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"rtos.main-thread-stack-size": 32768,
1212
"cordio.max-connections": 5,
1313
"target.mbed_app_start": "0x8040000",
14+
"nsapi.dns-response-wait-time": 5000,
15+
"nsapi.dns-total-attempts": 3,
1416
"target.macros_add": [
1517
"METAL_INTERNAL",
1618
"VIRTIO_DRIVER_ONLY",

variants/NICLA_VISION/conf/mbed_app.json

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
"rtos.main-thread-stack-size": 32768,
1313
"cordio.max-connections": 5,
1414
"target.mbed_app_start": "0x8040000",
15+
"nsapi.dns-response-wait-time": 5000,
16+
"nsapi.dns-total-attempts": 3,
1517
"target.macros_add": [
1618
"METAL_INTERNAL",
1719
"VIRTIO_DRIVER_ONLY",

variants/OPTA/conf/mbed_app.json

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"rtos.main-thread-stack-size": 32768,
1212
"cordio.max-connections": 5,
1313
"target.mbed_app_start": "0x8040000",
14+
"nsapi.dns-response-wait-time": 5000,
15+
"nsapi.dns-total-attempts": 3,
1416
"target.macros_add": [
1517
"METAL_INTERNAL",
1618
"VIRTIO_DRIVER_ONLY",

variants/PORTENTA_H7_M7/conf/mbed_app.json

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"cellular.at-handler-buffer-size": 512,
1616
"mbed-trace.enable": true,
1717
"target.mbed_app_start": "0x8040000",
18+
"nsapi.dns-response-wait-time": 5000,
19+
"nsapi.dns-total-attempts": 3,
1820
"target.macros_add": [
1921
"BT_UART_NO_3M_SUPPORT",
2022
"USB_DYNAMIC_CONFIGURATION",

0 commit comments

Comments
 (0)