Commit Graph

14 Commits

Author SHA1 Message Date
marian ccf5c2469d Fixed bug: check pointer before using it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4542 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-12 09:32:37 +00:00
marian b2c923bc57 Fixed bug: avoid integer overflow.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4520 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 12:37:23 +00:00
marian 550e4408db Use the proper delete operator to free arrays.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4519 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 11:58:33 +00:00
marian 0a29a55c92 Added cache load and flush commands.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4516 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-20 15:12:33 +00:00
marian 304ca28170 Remember running cache threads. Delay engine stop while there are running threads.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4511 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-18 13:45:05 +00:00
marian ebf89ba583 A template can now be used to build a cache entry id from handled messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4510 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-18 11:30:00 +00:00
paulc 7b449282d6 Increased maximum load chunk size to 50000 to allow efficient loading of large caches.
Clarified the relation between hash list size and cache limit.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4507 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-15 11:02:46 +00:00
marian 8d9a1e73b8 Cache load thread priority is now configurable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4505 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-14 14:37:19 +00:00
marian daae56df24 Added optional cache periodic reload parameter. Allow a cache to have a 0 ttl (no expire).
git-svn-id: http://yate.null.ro/svn/yate/trunk@4501 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-13 15:20:08 +00:00
marian 48b0a29acb Optimized array parsing when processing a cache load result set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4459 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-15 14:17:59 +00:00
marian 6d061d797a Allow loading a cache using multiple database requests. Added optional extra account used to load a cache.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4440 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-07 07:45:50 +00:00
marian b9f97696a9 Set and read expires as expire interval. Properly copy parameters when an item is found in cache.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4412 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-27 08:33:33 +00:00
marian 4c80b9a28e Install basic relays when module is loaded. Handle status
git-svn-id: http://yate.null.ro/svn/yate/trunk@4410 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-26 12:38:43 +00:00
marian bff42aa952 Added cache module handling LNP and CNAM.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4409 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-26 08:20:19 +00:00