# BUG REPORT: AsyncUpdater for real time use in ParameterAttachment

**URL:** <https://forum.juce.com/t/bug-report-asyncupdater-for-real-time-use-in-parameterattachment/50645>\
**Category:** General JUCE discussion\
**Created:** [March 18, 2022, 2:35pm UTC](https://forum.juce.com/t/bug-report-asyncupdater-for-real-time-use-in-parameterattachment/50645 "2022-03-18T14:35:34Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![eyalamir](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/eyalamir/32/2978_2.png) [@eyalamir](https://forum.juce.com/u/eyalamir)\
**Post date:** [March 19, 2022, 8:37am UTC](https://forum.juce.com/t/bug-report-asyncupdater-for-real-time-use-in-parameterattachment/50645/8 "2022-03-19T08:37:37Z")

</div>

You can definitely optimize the timer so it’s a single (static) timer that has an atomic bool that only gets set if any of the parameters changed, and otherwise do nothing. That’s what I do in my ParameterAttachment class and there’s no penalty even for thousands of parameters.

---

_[View the full topic](https://forum.juce.com/t/bug-report-asyncupdater-for-real-time-use-in-parameterattachment/50645)._
