code: def connect(self, host, port, minsize=5, maxsize=10, loop=asyncio.get_event_loop()):
          
          self._pool = yield from aioredis.create_pool((host, port), minsize=minsize, maxsize=maxsize, loop=loop)
docs: Setup a connection pool
          :param host: Redis host
          :param port: Redis port
          :param loop: Event loop