Skip to content
Snippets Groups Projects
Commit 13f74aba authored by lejeune quentin's avatar lejeune quentin
Browse files

[FIX] point_of_sale: Set max cron for IoT to 0


From commit 42f292af the default
max cron is setted to 2.

But we don't need cron on the IoT and need to explicitly set it to 0

closes odoo/odoo#71655

Signed-off-by: default avatarpimodoo <pimodoo@users.noreply.github.com>
parent 8277c739
Branches
Tags
No related merge requests found
......@@ -32,7 +32,7 @@ function _start() {
while ! test -a /run/systemd/timesync/synchronized && ! ip route | grep 10.11.12.1 && ((cnt--)); do
sleep 1
done
start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER:$USER --background --make-pidfile --exec $DAEMON -- --config $CONFIG --logfile $LOGFILE --load=$MODULES --limit-time-cpu=600 --limit-time-real=1200
start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER:$USER --background --make-pidfile --exec $DAEMON -- --config $CONFIG --logfile $LOGFILE --load=$MODULES --limit-time-cpu=600 --limit-time-real=1200 --max-cron-threads=0
}
function _stop() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment