Add some randomness to avoid concurrent pulling of new tasks

Merged Cédric Krier requested to merge topic/default/trytond-worker-wakeup-random into branch/default

This prevents multiple workers to pull the same new task at the same time which can create concurrency conflict.

Closes #11938 (closed)

Merge request reports