|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /usr/local/lib/python3.9/site-packages/celery/concurrency/__pycache__/ |
a
��Shb � @ s� d Z ddlZddlZddlZddlZddlmZmZ ddlm Z ddl
mZ ddlm
Z
ddlmZmZmZ ddlmZ dd lmZ dd
lmZ dZed�Zd
ddddejd
ejfdd�ZG dd� d�ZdS )zBase Execution Pool.� N)�Any�Dict)�
ExceptionInfo)�WorkerLostError)� safe_repr)�WorkerShutdown�WorkerTerminate�reraise)�timer2)�
get_logger)�truncate)�BasePool�apply_targetzcelery.pool� c K s� |si n|}|r"||p|� |� � z| |i |��}
W n� |yH � Y n� t yZ � Y n� ttfyp � Y nj ty� } zJz tttt|��t�� d � W n ty� |t � � Y n0 W Y d}~nd}~0 0 ||
� dS )z#Apply function within pool context.� N)
� Exceptionr r �
BaseExceptionr r �repr�sys�exc_infor )�target�args�kwargs�callbackZaccept_callback�pid�getpid� propagate� monotonic�_�ret�excr r �A/usr/local/lib/python3.9/site-packages/celery/concurrency/base.pyr s&