Exemple #1
0
 def recreate(self):
     CLIENT_HOLDER.default_client.incr(METLOG_PREFIX + 'pool.recreate')
     new_self = QueuePool.recreate(self)
     new_self._pool = _QueueWithMaxBacklog(self._pool.maxsize,
                                           self._pool.max_backlog)
     return new_self
 def recreate(self):
     new_self = QueuePool.recreate(self)
     new_self._pool = _QueueWithMaxBacklog(self._pool.maxsize, self._pool.max_backlog)
     return new_self
 def recreate(self):
     CLIENT_HOLDER.default_client.incr(METLOG_PREFIX + 'pool.recreate')
     new_self = QueuePool.recreate(self)
     new_self._pool = _QueueWithMaxBacklog(self._pool.maxsize,
                                           self._pool.max_backlog)
     return new_self
 def recreate(self):
     new_self = QueuePool.recreate(self)
     new_self._pool = _QueueWithMaxBacklog(self._pool.maxsize,
                                           self._pool.max_backlog)
     return new_self