]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/rbd_support: add linear backoff to retried tasks
authorJason Dillaman <dillaman@redhat.com>
Thu, 19 Nov 2020 20:25:52 +0000 (15:25 -0500)
committerNathan Cutler <ncutler@suse.com>
Sat, 9 Jan 2021 08:53:56 +0000 (09:53 +0100)
commit937f335481ed30523f8e8561e383c2619f7fe39c
treebb77c523684a7c6291c7281a224a7281cdd9a627
parent293d1d70dceb8964adcf9863aed4955ba8285b11
pybind/mgr/rbd_support: add linear backoff to retried tasks

When a task fails but will be retried, linearly increase the
delay for the next retry up to a maximum of 5 minutes.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit b8a4685cf9bf82a1a072e0de635a8b2a1a6973ba)

Conflicts:
        src/pybind/mgr/rbd_support/task.py
- file does not exist in nautilus: applied the changes manually
src/pybind/mgr/rbd_support/module.py