Skip to content

Commit d4b6e1f

Browse files
committed
modules: controller: increase default sample interval to 5000ms
Increase CONTROLLER_MODULE_SAMPLE_INTERVAL_MS default to 5000ms and remove the unused CONTROLLER_MODULE_ZBUS_SUBSCRIBER_QUEUE_SIZE option. This change delays ZBUS queue overflows in the cloud module by reducing the rate of sensor data requests, but does not resolve the root cause - cloud and sensor subscriber processing remains too slow for sustained operation. Refs: #23 Signed-off-by: Natalia Pluta <pluta.natalia.m@gmail.com>
1 parent a1c3424 commit d4b6e1f

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

app/src/modules/controller/Kconfig.controller

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ config CONTROLLER_MODULE_THREAD_PRIORITY
2828

2929
config CONTROLLER_MODULE_SAMPLE_INTERVAL_MS
3030
int "Default sensor sampling interval (ms)"
31-
default 1000
31+
default 5000
3232
help
3333
Default interval between sensor data requests.
3434

@@ -38,12 +38,6 @@ config CONTROLLER_MODULE_THREAD_SLEEP_MS
3838
help
3939
Sleep interval for the controller module thread main loop.
4040

41-
config CONTROLLER_MODULE_ZBUS_SUBSCRIBER_QUEUE_SIZE
42-
int "ZBUS subscriber queue size"
43-
default 4
44-
help
45-
Queue size for the ZBUS controller subscriber.
46-
4741
config CONTROLLER_MODULE_MAX_RETRIES
4842
int "Maximum error retries"
4943
default 3

0 commit comments

Comments
 (0)