]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: agent: subtract average time of previous iterations off wait time 43452/head
authorAdam King <adking@redhat.com>
Thu, 7 Oct 2021 14:09:12 +0000 (10:09 -0400)
committerAdam King <adking@redhat.com>
Thu, 7 Oct 2021 14:09:12 +0000 (10:09 -0400)
commitb50401261400a7667a214172d6e0daabd67e5f1e
tree0f57bbf4cb3715103d543cb9403f082d416c0965
parent363b223844d4f35db361f68e256ad3bf6f0e29e2
cephadm: agent: subtract average time of previous iterations off wait time

We want the agent to actually report metadata at the rate we set
it for. Before this, that rate was just being used as the wait time
between iterations so the actual time between iterations was the
given interval plus the time to gather metadata. Now the time between
reports should actually be roughly the given interval.

Signed-off-by: Adam King <adking@redhat.com>
src/cephadm/cephadm