Don't check all realtime queues when doing "queue show some_queue".
authorWalter Doekes <walter+asterisk@wjd.nu>
Wed, 16 Oct 2013 12:19:47 +0000 (12:19 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Wed, 16 Oct 2013 12:19:47 +0000 (12:19 +0000)
commite694a976f67dd09919aed7bbc4121b46318867f4
tree98f41a7f3f8e3db1e1987c4a15d236a83519196a
parent7955e89d062089856518b28753fef5c3f62dbae1
Don't check all realtime queues when doing "queue show some_queue".

When using realtime queues, queues have to be fetched from the database
every now and then to see if any info has been changed or to see if the
queue has been removed. When fetching info for an individual queue, the
pruning of other queues is unnecessarily costly.

Review: https://reviewboard.asterisk.org/r/2907/
........

Merged revisions 401049 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 401076 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 401077 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@401079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c