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/layered_store_hints.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 store/layered_store_hints.go (limited to 'store/layered_store_hints.go') diff --git a/store/layered_store_hints.go b/store/layered_store_hints.go new file mode 100644 index 000000000..6154af7c9 --- /dev/null +++ b/store/layered_store_hints.go @@ -0,0 +1,11 @@ +// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved. +// See License.txt for license information. + +package store + +type LayeredStoreHint int + +const ( + LSH_NO_CACHE LayeredStoreHint = iota + LSH_MASTER_ONLY +) -- cgit v1.2.3-1-g7c22