Cache query results for one second.
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 27 May 2010 19:25:16 +0000 (19:25 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 27 May 2010 19:25:16 +0000 (19:25 +0000)
commit05a1ec8abc32d8a5287b86701bd4c964e4fbe193
tree457df0fae3d67cc69e88d8eb738c2b0913f9dc90
parentfb80119b87efc5ca0e8ee439ef70149601f4f24a
Cache query results for one second.

Queries from the PBX core come in 3's.  Caching avoids the additional
performance penalty from those two additional queries hitting the database.

(closes issue #16521)
 Reported by: tilghman
 Patches:
       20091229__issue16521.diff.txt uploaded by tilghman (license 14)
 Tested by: Hubguru, tilghman

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@266238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
pbx/pbx_realtime.c