summaryrefslogtreecommitdiff
path: root/swift/obj/auditor.py
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2021-05-05 15:30:21 -0700
committerTim Burke <tim.burke@gmail.com>2021-05-05 15:30:21 -0700
commitc374a7a85152699fe1edc6078076f66fcbce3dfb (patch)
tree2028f5a9fbf53f5b29cb75c378aa5964937fd9cb /swift/obj/auditor.py
parentc5fe114c9622783b9d6e00ac9bf50e9ffe6dd17b (diff)
downloadswift-c374a7a85152699fe1edc6078076f66fcbce3dfb.tar.gz
Allow floats for all intervals
Change-Id: I91e9bc02d94fe7ea6e89307305705c383087845a
Diffstat (limited to 'swift/obj/auditor.py')
-rw-r--r--swift/obj/auditor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/swift/obj/auditor.py b/swift/obj/auditor.py
index dba12a073..e2f732d29 100644
--- a/swift/obj/auditor.py
+++ b/swift/obj/auditor.py
@@ -323,7 +323,7 @@ class ObjectAuditor(Daemon):
self.recon_cache_path = conf.get('recon_cache_path',
'/var/cache/swift')
self.rcache = join(self.recon_cache_path, "object.recon")
- self.interval = int(conf.get('interval', 30))
+ self.interval = float(conf.get('interval', 30))
watcher_names = set(list_from_csv(conf.get('watchers', '')))
# Normally '__file__' is always in config, but tests neglect it often.