From 9659a6da06852ede9bf6b87c0e39a543e88a5034 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Tue, 27 Jun 2017 08:02:08 -0700 Subject: Stage 1 of caching layer. Framework (#6693) --- store/sql_reaction_store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'store/sql_reaction_store.go') diff --git a/store/sql_reaction_store.go b/store/sql_reaction_store.go index 1b927c106..87845421e 100644 --- a/store/sql_reaction_store.go +++ b/store/sql_reaction_store.go @@ -20,10 +20,10 @@ const ( var reactionCache *utils.Cache = utils.NewLru(REACTION_CACHE_SIZE) type SqlReactionStore struct { - *SqlStore + SqlStore } -func NewSqlReactionStore(sqlStore *SqlStore) ReactionStore { +func NewSqlReactionStore(sqlStore SqlStore) ReactionStore { s := &SqlReactionStore{sqlStore} for _, db := range sqlStore.GetAllConns() { -- cgit v1.2.3-1-g7c22