Commit Graph

60 Commits

Author SHA1 Message Date
Radu Ioan Fericean
4dd445eb9e small fix 2016-08-16 18:18:51 +03:00
Radu Ioan Fericean
a7f3ae99c4 implemented get keys for prefix 2016-08-16 18:11:38 +03:00
Radu Ioan Fericean
3db8800646 fix tll expiration check 2016-08-16 17:39:50 +03:00
Radu Ioan Fericean
33f6aa7cd4 no ttl by default 2016-08-16 15:31:20 +03:00
Radu Ioan Fericean
747af43f8d initialize cache with config object 2016-08-15 23:05:55 +03:00
Radu Ioan Fericean
b89725be46 hardcoded values for cache 2016-08-15 11:12:15 +03:00
Radu Ioan Fericean
c02bac6b9c ttl fixes for cache 2016-08-12 16:26:32 +03:00
Radu Ioan Fericean
a10f0aaaa9 refernce db test ok 2016-08-10 20:02:28 +03:00
Radu Ioan Fericean
a5e44fd590 engine compiling succesfully 2016-08-09 21:17:35 +03:00
Radu Ioan Fericean
447974dd7c moved cache files back in separate package 2016-08-05 19:42:35 +03:00
Radu Ioan Fericean
5c9d506d5b new composite cache lru/ttl 2016-07-19 19:18:59 +03:00
Radu Ioan Fericean
8cc273b2f1 introduced new LRU/TTL caches 2016-07-14 19:23:44 +03:00
Radu Ioan Fericean
e84e28faae cache refactoring for save and load 2016-06-07 22:43:02 +03:00
Radu Ioan Fericean
95e8230a5c test fixes 2016-06-06 13:02:06 +03:00
Radu Ioan Fericean
eb071e49f2 initial cache files mechanism 2016-06-02 20:59:30 +03:00
Radu Ioan Fericean
3db05157ac tests passing on hapool with response_ttl > 0 2016-05-03 15:18:17 +03:00
Radu Ioan Fericean
faefc9d86e responder cache fixes 2015-12-02 21:25:20 +02:00
Radu Ioan Fericean
ffdd960d39 cache all calls from session manager 2015-11-27 14:46:51 +02:00
Radu Ioan Fericean
b0fe280b34 improve reverse aliases 2015-11-23 14:23:34 +02:00
Radu Ioan Fericean
06e4004c51 removed cache items timestamps 2015-11-18 15:47:49 +02:00
Radu Ioan Fericean
e50a0f8753 Merge branch 'master' into hapool 2015-09-08 16:37:32 +03:00
Radu Ioan Fericean
ec040b4ae6 added reverse alias APIs and console commands
fixes #170, fixes #168
2015-09-07 17:22:54 +03:00
Radu Ioan Fericean
4f11a40a57 moved response cache ttl in general config 2015-07-24 17:57:46 +03:00
Radu Ioan Fericean
8abab18b07 added wait semaphore for response cache 2015-07-22 15:21:16 +03:00
Radu Ioan Fericean
a7cf099c5c used response cache in responder 2015-07-20 12:15:24 +03:00
Radu Ioan Fericean
835f6533da added response cache mechanism 2015-07-20 09:56:20 +03:00
Radu Ioan Fericean
9ffc2a4715 refactored errors 2015-06-13 16:45:09 +03:00
Radu Ioan Fericean
1665113742 small optimizations for cache 2014-11-27 22:36:42 +02:00
Radu Ioan Fericean
dac0248c15 load all destination in cache if more than 0.5 2014-11-27 12:06:47 +02:00
Radu Ioan Fericean
4735c7c0a4 updates simple cache store too 2014-11-26 18:30:40 +02:00
Radu Ioan Fericean
680985200f Using map[interface{}]struct{} instead of []interface{} in cache 2014-11-26 18:28:07 +02:00
Radu Ioan Fericean
013ff6c6f2 fixes + easy switch between cache stores 2014-09-05 22:25:20 +03:00
Radu Ioan Fericean
7b2ba2aeb9 turbo charged cache at 2:30am 2014-09-04 02:28:10 +03:00
Radu Ioan Fericean
9467f5741b count keys on CachePush too 2014-09-03 20:03:01 +03:00
Radu Ioan Fericean
24c79b6b22 working version for cache transactions 2014-09-03 19:17:55 +03:00
Radu Ioan Fericean
90f77cf158 one more test 2014-09-03 19:17:54 +03:00
Radu Ioan Fericean
fa7b97b5dc work on cache transactions 2014-09-03 19:17:54 +03:00
Radu Ioan Fericean
c5fea8ef71 simplified cache 2014-09-03 19:17:54 +03:00
Radu Ioan Fericean
1574de1d38 some cache loking fixes 2014-08-01 17:59:13 +03:00
Radu Ioan Fericean
982f6e0864 faster lock unlock 2014-07-17 13:33:17 +03:00
Radu Ioan Fericean
ede467c899 Merge branch 'lcr'
Conflicts:
	engine/calldesc.go
	engine/handler_derivedcharging.go
	mediator/mediator.go
	utils/apitpdata.go
2014-04-29 14:20:15 +03:00
Radu Ioan Fericean
e5f66a8f4b only delete if cache key exists 2014-04-28 16:37:39 +03:00
Radu Ioan Fericean
9a63438577 added lock for counters flush 2014-04-28 13:33:37 +03:00
Radu Ioan Fericean
c9493005cd more cache fixes 2014-04-28 12:45:21 +03:00
Radu Ioan Fericean
24a2436f81 faster cache counter and unified caches 2014-04-28 12:12:19 +03:00
Radu Ioan Fericean
834a25ae74 Merge branch 'master' into lcr 2014-04-01 20:50:05 +03:00
Radu Ioan Fericean
62c56ae26b stale destination prefix cleaning 2014-03-31 21:01:52 +03:00
Radu Ioan Fericean
611743d3c5 first lcr algo 2014-03-26 11:51:03 +02:00
Radu Ioan Fericean
a74a201735 seting increment cost to 0 for increments payed using free minutes 2013-12-19 18:44:58 +02:00
Radu Ioan Fericean
522ef1cf9c commented out the test taht sometimes fails on drone.io 2013-12-17 19:57:44 +02:00