Skip to content

Commit 479ccb3

Browse files
trantanenrlubos
authored andcommitted
samples: nrf9160: modem_shell: Increase workqueue stack size
Increase MOSH_COMMON_WORKQUEUE_STACK_SIZE to 9126 to accommodate commands sent from cloud. Normal commands are run in shell thread but commands sent from cloud are run in modem shell's own common thread. This means we need to increase the stack for the common thread a lot just because of the commands sent from the cloud as we cannot run them in the same thread as normal shell commands. Jira: MOSH-444 Signed-off-by: Tommi Rantanen <tommi.rantanen@nordicsemi.no>
1 parent 4e7aaf9 commit 479ccb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/nrf9160/modem_shell/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ config MOSH_PRINT_BUFFER_SIZE
117117

118118
config MOSH_COMMON_WORKQUEUE_STACK_SIZE
119119
int "Common workqueue stack size"
120+
default 7168 if MOSH_CLOUD_REST || MOSH_CLOUD_MQTT
120121
default 6144 if MOSH_STARTUP_CMDS && MOSH_CURL
121122
default 4096
122123

0 commit comments

Comments
 (0)