]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/vol: use pre-defined timeout period instead of hardcoded value 59848/head
authorRishabh Dave <ridave@redhat.com>
Wed, 18 Sep 2024 05:37:02 +0000 (11:07 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 18 Sep 2024 05:37:02 +0000 (11:07 +0530)
commitccd58786b90e358b19fa1d5108802856d6b4b237
tree679323c20a31b77832d4a737866f3d368dbc5068
parenta1cd410986e370461c2d9ee40703dc420eb0f991
mgr/vol: use pre-defined timeout period instead of hardcoded value

Currently timeout is set to 5. But hardcoding this is unnecessary since
the class already defines a attribute for this purpose. Use that
instead.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/pybind/mgr/volumes/fs/async_job.py