# \[BUG-13959\] Query Tags don't refresh per the leased rate

**URL:** <https://forum.inductiveautomation.com/t/bug-13959-query-tags-dont-refresh-per-the-leased-rate/25115>\
**Category:** Ignition Early Access\
**Created:** [May 17, 2019, 9:09pm UTC](https://forum.inductiveautomation.com/t/bug-13959-query-tags-dont-refresh-per-the-leased-rate/25115 "2019-05-17T21:09:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Walt](https://avatars.discourse-cdn.com/v4/letter/w/71e660/32.png) [@Walt](https://forum.inductiveautomation.com/u/Walt)\
**Post date:** [May 17, 2019, 9:09pm UTC](https://forum.inductiveautomation.com/t/bug-13959-query-tags-dont-refresh-per-the-leased-rate/25115/1 "2019-05-17T21:09:10Z")

</div>

There seems to be at least a couple issues.

1. Neither the query tags or the opc items seem to update per the leased rate.
2. The query tags seem to update on a separate interval as the opc item it is populating.

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [May 17, 2019, 10:18pm UTC](https://forum.inductiveautomation.com/t/bug-13959-query-tags-dont-refresh-per-the-leased-rate/25115/2 "2019-05-17T22:18:30Z")

</div>

I couldn’t replicate an issue (using the current 8.0.2 build). For query tags, you do have to have a few things in a row:

1. Tag group set to Leased.
2. Tag set to the leased tag group
3. _Execution Mode_ set to “Tag Group”.

With OPC, step 3 isn’t necessary.

Now, there IS a big change between 7 and 8: The tag browse tree no longer causes the leased state to become active. So in order for a tag to be “leased”, it has to be used and open on a vision window, perspective view, etc.

One other thing about OPC- sometimes timing can be a bit off of what you’d expect (but should always be at least what you want, if not faster) based on other subscriptions, especially if the same path is subscribed in different tag groups. It’s just something else to keep in mind.

If all of this checks out and you’re still having a problem, we can try to dig in more to what your exact settings/state is.

---

<div class="post-metadata">

**Author:** ![Walt](https://avatars.discourse-cdn.com/v4/letter/w/71e660/32.png) [@Walt](https://forum.inductiveautomation.com/u/Walt)\
**Post date:** [May 20, 2019, 9:12pm UTC](https://forum.inductiveautomation.com/t/bug-13959-query-tags-dont-refresh-per-the-leased-rate/25115/3 "2019-05-20T21:12:58Z")

</div>

Thanks. I’ll have to call into support. The query tags are used on the window so they should be leased, and the leased rate is 2 seconds. It seems to be anywhere from immediate to upwards of 30 seconds for the query tags to update.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 20, 2019, 9:37pm UTC](https://forum.inductiveautomation.com/t/bug-13959-query-tags-dont-refresh-per-the-leased-rate/25115/4 "2019-05-20T21:37:52Z")

</div>

> [@Walt](#):
>
> It seems to be anywhere from immediate to upwards of 30 seconds for the query tags to update.

Is it possible that one or more of your queries is slow (even occasionally) and that's why you're seeing slow updates?

Check out the Status \> Tags \> Groups tab and see what the execution times are for the group with the query tags.

---

<div class="post-metadata">

**Author:** ![Walt](https://avatars.discourse-cdn.com/v4/letter/w/71e660/32.png) [@Walt](https://forum.inductiveautomation.com/u/Walt)\
**Post date:** [May 20, 2019, 9:59pm UTC](https://forum.inductiveautomation.com/t/bug-13959-query-tags-dont-refresh-per-the-leased-rate/25115/5 "2019-05-20T21:59:57Z")

</div>

Interesting. None of my tag groups show execution/duration times.

I am running the 5/15 nightly.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 20, 2019, 10:57pm UTC](https://forum.inductiveautomation.com/t/bug-13959-query-tags-dont-refresh-per-the-leased-rate/25115/6 "2019-05-20T22:57:51Z")

</div>

Hmm, I think the missing diagnostics are a bug.

---

<div class="post-metadata">

**Author:** ![Walt](https://avatars.discourse-cdn.com/v4/letter/w/71e660/32.png) [@Walt](https://forum.inductiveautomation.com/u/Walt)\
**Post date:** [May 21, 2019, 1:25pm UTC](https://forum.inductiveautomation.com/t/bug-13959-query-tags-dont-refresh-per-the-leased-rate/25115/7 "2019-05-21T13:25:14Z")

</div>

Query tags are refreshing quickly this morning, so maybe there was a performance issue going on that wasn’t obvious. Thanks!

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [June 14, 2019, 3:24pm UTC](https://forum.inductiveautomation.com/t/bug-13959-query-tags-dont-refresh-per-the-leased-rate/25115/8 "2019-06-14T15:24:56Z")

</div>

This issue was fixed in the 8.0.3 nightly build from 5/23.
