diff --git a/beaker_extensions/redis_.py b/beaker_extensions/redis_.py index b8bb458..a8e0a46 100644 --- a/beaker_extensions/redis_.py +++ b/beaker_extensions/redis_.py @@ -78,7 +78,7 @@ def _format_pool_key(self, host, port, db): return '{0}:{1}:{2}'.format(host, port, self.db) def do_remove(self): - self.db_conn.flush() + self.db_conn.flushdb() def keys(self): return self.db_conn.keys('beaker:%s:*' % self.namespace)