| Server IP : 65.1.209.187 / Your IP : 216.73.216.144 Web Server : nginx/1.24.0 System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64 User : ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/aioredis/__pycache__/ |
Upload File : |
�
���]�@ � �� � d dl Z d dlZd dlZd dlZd dlZddlmZmZ ddlm Z ddl
mZmZ ddl
mZ ddlmZ ddlmZ dddddd dddddd
�d�Z G d� d
e� Z G d� d� Z G d� d� Zy)� N� )�create_connection�_PUBSUB_COMMANDS)�logger)� parse_url�
CloseEvent)�PoolClosedError)�AbcPool)�Lock�
)�db�password�ssl�encoding�minsize�maxsize�parser�loop�create_connection_timeout�pool_cls�connection_clsc
� �8 K � |
rt |
t � sJ d� �|
}nt }t | t � r|t | � \ } }
|
j
d|� }|
j
d|� }|
j
d|� }|
j
d| � } d|
v r"|
d s|
d s|r
J d|
d |f� �|xs |
d } || |||||||| ||�� } |j d �
� � d{ ��� |S 7 �# t $ r+ |j � |j � � d{ ���7 � w xY w�w)a{ Creates Redis Pool.
By default it creates pool of Redis instances, but it is
also possible to create pool of plain connections by passing
``lambda conn: conn`` as commands_factory.
*commands_factory* parameter is deprecated since v0.2.9
All arguments are the same as for create_connection.
Returns RedisPool instance or a pool_cls if it is given.
z-pool_class does not meet the AbcPool contractr
r r �timeoutr zConflicting ssl options are set)r r r r r r r F��override_minN)�
issubclassr
�ConnectionsPool�
isinstance�strr �
setdefault�
_fill_free� Exception�close�wait_closed)�addressr
r r r r r r r r r r �cls�options�pools �//usr/lib/python3/dist-packages/aioredis/pool.py�create_poolr* sU � �� �"