Skip to content

Commit

Permalink
[FIX] point_of_sale: Set max cron for IoT to 0
Browse files Browse the repository at this point in the history
From commit 42f292a 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#71655

Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
  • Loading branch information
qle-odoo committed Jun 3, 2021
1 parent 8277c73 commit 13f74ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 13f74ab

Please sign in to comment.