Commits

Gregory Petukhov committed 6088f26

Remove obsolete index creation

Comments (0)

Files changed (1)

mongodb_cache/__init__.py

         self.debug = 'debug' in params
         self._cache = pymongo.Connection(server, port)[database_name].cache
         self._cache.ensure_index('key', unique=True)
-        self._cache.ensure_index('created')
 
     def expired(self, timeout):
         return datetime.now() + timedelta(seconds=timeout or self.default_timeout)