Move all the caches into their own package, synapse.util.caches

This commit is contained in:
Erik Johnston 2015-08-11 17:59:32 +01:00
parent 53a817518b
commit 2df8dd9b37
23 changed files with 408 additions and 352 deletions

View file

@ -13,7 +13,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from ._base import SQLBaseStore, cached, cachedInlineCallbacks, cachedList
from ._base import SQLBaseStore
from synapse.util.caches.descriptors import (
cached, cachedInlineCallbacks, cachedList
)
from twisted.internet import defer