diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2022-03-10 12:52:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 12:52:46 +0200 |
commit | d5baf4ca55c0fc948284723df53575522b139538 (patch) | |
tree | 51c14b15897927e9b680a7441915b702dda92265 /database | |
parent | f79fbb8b0f68cc7dc900657f1341eaddf74c98dc (diff) |
Fix chart synchronization with the cloud #12356
Diffstat (limited to 'database')
-rw-r--r-- | database/rrdset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/rrdset.c b/database/rrdset.c index ce860d07cd..e8217e90ba 100644 --- a/database/rrdset.c +++ b/database/rrdset.c @@ -1400,7 +1400,7 @@ void rrdset_done(RRDSET *st) { #ifdef ENABLE_ACLK if (likely(!st->state->is_ar_chart)) { if (unlikely(!rrdset_flag_check(st, RRDSET_FLAG_ACLK))) { - if (likely(st->dimensions && !queue_chart_to_aclk(st))) + if (likely(st->dimensions && st->counter_done && !queue_chart_to_aclk(st))) rrdset_flag_set(st, RRDSET_FLAG_ACLK); } } |