aboutsummaryrefslogtreecommitdiff
path: root/include/mod_carboncopy.hrl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-04-14 13:57:52 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-04-14 13:57:52 +0300
commite40baf0bdaecf3206420fe8c16c33f2c166cb717 (patch)
tree75d9fe880e8257ea9fd20c095c252d7940cea89d /include/mod_carboncopy.hrl
parentBump xmpp dependency, it's required by previous commit (diff)
Use cache in front of Redis/SQL RAM backends
Diffstat (limited to 'include/mod_carboncopy.hrl')
-rw-r--r--include/mod_carboncopy.hrl2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mod_carboncopy.hrl b/include/mod_carboncopy.hrl
index b58a5044e..1da76ffbc 100644
--- a/include/mod_carboncopy.hrl
+++ b/include/mod_carboncopy.hrl
@@ -22,3 +22,5 @@
-record(carboncopy, {us :: {binary(), binary()} | matchspec_atom(),
resource :: binary() | matchspec_atom(),
version :: binary() | matchspec_atom()}).
+
+-define(CARBONCOPY_CACHE, carboncopy_cache).