$87 GRAYBYTE WORDPRESS FILE MANAGER $71

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.216.174
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/__pycache__/

HOME
Current File : /opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/__pycache__//worker.cpython-38.pyc
U

��\�
�@s^ddlZddlmZmZddlmZmZddlmZmZddl	m
Z
e�ZGdd�de�ZdS)�N)�Thread�Lock)�sleep�time)�queue�check_thread_support)�loggerc@sbeZdZdd�Zedd��Zdd�Zdd�Zd	d
�Zdd�Z	ddd�Z
dd�Zdd�Zdd�Z
d
S)�BackgroundWorkercCs*t�t�d�|_t�|_d|_d|_dS)N���)rr�Queue�_queuer�_lock�_thread�_thread_for_pid��self�r�B/opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/worker.py�__init__s
zBackgroundWorker.__init__cCs&|jt��krdS|jsdS|j��S)NF)r�os�getpidr�is_aliverrrrrs
zBackgroundWorker.is_alivecCs|js|��dS�N)r�startrrrr�_ensure_thread$szBackgroundWorker._ensure_threadcCsdt�|}|j}|j��z8|jrL|t�}|dkr<W�dS|jj|d�qW�dS|j��XdS)NrF)�timeoutT)rrZall_tasks_done�acquire�releaseZunfinished_tasks�wait)rrZdeadliner�delayrrr�_timed_queue_join)s


z"BackgroundWorker._timed_queue_joinc	CsL|j�<|js>t|jdd�|_|j�d�|j��t��|_	W5QRXdS)Nzraven-sentry.BackgroundWorker)�target�nameT)
r
rr�_targetr�	setDaemonrrrrrrrrr8s�
zBackgroundWorker.startc	Cs>t�d�|j�$|jr0|j�t�d|_d|_W5QRXdS)Nz"background worker got kill request)r�debugr
rr�
put_nowait�_TERMINATORrrrrr�killCs
zBackgroundWorker.killNc	CsDt�d�|j� |jr,|dkr,|�||�W5QRXt�d�dS)Nz#background worker got flush requestgzbackground worker flushed)rr%r
r�_wait_flush)rr�callbackrrr�flushLs

zBackgroundWorker.flushcCsNtd|�}|�|�sJ|j��}t�d|�|dk	r<|||�|�||�dS)Ng�������?z%d event(s) pending on flush)�minr rZqsizerr%)rrr*Zinitial_timeout�pendingrrrr)Ts



zBackgroundWorker._wait_flushcCs|��|j�|�dSr)rrr&�rr*rrr�submit^szBackgroundWorker.submitcCsf|j��}z@|tkrW�4qbz
|�Wn"tk
rFtjddd�YnXW5|j��Xtd�qdS)NzFailed processing jobT)�exc_infor)r�getZ	task_doner'�	Exceptionr�errorrr.rrrr#cs

zBackgroundWorker._target)N)�__name__�
__module__�__qualname__r�propertyrrr rr(r+r)r/r#rrrrr	s
	

r	)r�	threadingrrrrZsentry_sdk._compatrrZsentry_sdk.utilsrrZAny�Optional�Callable�objectr'r	rrrr�<module>s	


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Mar 2024 10.24 AM
root / linksafe
0755
__init__.cpython-38.opt-1.pyc
1.485 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
__init__.cpython-38.pyc
1.485 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
_compat.cpython-38.opt-1.pyc
2.513 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
_compat.cpython-38.pyc
2.513 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
api.cpython-38.opt-1.pyc
2.889 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
api.cpython-38.pyc
2.889 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
client.cpython-38.opt-1.pyc
6.12 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
client.cpython-38.pyc
6.12 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
consts.cpython-38.opt-1.pyc
0.945 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
consts.cpython-38.pyc
0.945 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
debug.cpython-38.opt-1.pyc
1.572 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
debug.cpython-38.pyc
1.572 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
hub.cpython-38.opt-1.pyc
11.588 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
hub.cpython-38.pyc
11.588 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
scope.cpython-38.opt-1.pyc
6.356 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
scope.cpython-38.pyc
6.356 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
transport.cpython-38.opt-1.pyc
5.657 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
transport.cpython-38.pyc
5.657 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
utils.cpython-38.opt-1.pyc
20.44 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
utils.cpython-38.pyc
20.44 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
worker.cpython-38.opt-1.pyc
3.22 KB
10 Jul 2020 5.54 PM
root / linksafe
0644
worker.cpython-38.pyc
3.22 KB
10 Jul 2020 5.54 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF