Skip to content

Commit 6e3367c

Browse files
committed
reduce nsapi dns response timeout to 2s
1 parent f7fee48 commit 6e3367c

File tree

7 files changed

+10
-3
lines changed

7 files changed

+10
-3
lines changed

Diff for: variants/EDGE_CONTROL/conf/mbed_app.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"macros": [
33
"MBED_HEAP_STATS_ENABLED=1",
44
"MBED_STACK_STATS_ENABLED=1",
@@ -19,7 +19,8 @@
1919
"cellular.offload-dns-queries": true,
2020
"cellular.at-handler-buffer-size": 1024,
2121
"mbed-trace.enable": true,
22-
"target.mbed_app_start": "0x10000"
22+
"target.mbed_app_start": "0x10000",
23+
"nsapi.dns-response-wait-time": 2000
2324
},
2425
"EDGE_CONTROL": {
2526
"sd.SPI_MOSI": "P0_20",

Diff for: variants/GENERIC_STM32H747_M4/conf/mbed_app.json

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"platform.callback-nontrivial": true,
1010
"platform.all-stats-enabled": true,
1111
"rtos.main-thread-stack-size": 32768,
12+
"nsapi.dns-response-wait-time": 2000,
1213
"cordio.max-connections": 5,
1314
"target.lse_available": 0,
1415
"target.device_has_remove": [

Diff for: variants/GIGA/conf/mbed_app.json

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"rtos.main-thread-stack-size": 32768,
1212
"cordio.max-connections": 5,
1313
"target.mbed_app_start": "0x8040000",
14+
"nsapi.dns-response-wait-time": 2000,
1415
"target.macros_add": [
1516
"METAL_INTERNAL",
1617
"VIRTIO_DRIVER_ONLY",

Diff for: variants/NANO_RP2040_CONNECT/conf/mbed_app.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"platform.callback-nontrivial": true,
1010
"platform.all-stats-enabled": true,
1111
"platform.memory-tracing-enabled": true,
12-
"rtos.main-thread-stack-size": 32768
12+
"rtos.main-thread-stack-size": 32768,
13+
"nsapi.dns-response-wait-time": 2000
1314
}
1415
}
1516
}

Diff for: variants/NICLA_VISION/conf/mbed_app.json

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"rtos.main-thread-stack-size": 32768,
1313
"cordio.max-connections": 5,
1414
"target.mbed_app_start": "0x8040000",
15+
"nsapi.dns-response-wait-time": 2000,
1516
"target.macros_add": [
1617
"METAL_INTERNAL",
1718
"VIRTIO_DRIVER_ONLY",

Diff for: variants/OPTA/conf/mbed_app.json

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"rtos.main-thread-stack-size": 32768,
1212
"cordio.max-connections": 5,
1313
"target.mbed_app_start": "0x8040000",
14+
"nsapi.dns-response-wait-time": 2000,
1415
"target.macros_add": [
1516
"METAL_INTERNAL",
1617
"VIRTIO_DRIVER_ONLY",

Diff for: variants/PORTENTA_H7_M7/conf/mbed_app.json

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"cellular.offload-dns-queries": true,
1515
"cellular.at-handler-buffer-size": 512,
1616
"mbed-trace.enable": true,
17+
"nsapi.dns-response-wait-time": 2000,
1718
"target.mbed_app_start": "0x8040000",
1819
"target.macros_add": [
1920
"BT_UART_NO_3M_SUPPORT",

0 commit comments

Comments
 (0)