HEX
Server: LiteSpeed
System: Linux us-phx-web1284.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: u300739242 (300739242)
PHP: 8.2.30
Disabled: system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pyc
�
c�ec@s�ddlmZddlZy ddlmZmZmZWn-ek
rkddlmZmZmZnXddlm	Z	ddl
mZddgZdZ
eZe�Zdad	�Zd
�Zd�Zd�Zde	jfd
��YZdS(i����(tprint_functionN(tQueuetFulltEmpty(tsender(t	EventTimeRtFluentSenderidcCs
|adS(s: [For testing] Function to set global sender directly
    N(t_global_sender(R((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pyt_set_global_senderscKst||�adS(N(RR(ttagtkwargs((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pytsetup scCstS(N(R(((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pytget_global_sender%scCst�j�dS(N(Rtclose(((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pyR
)scBs�eZddddededeed�
Zed�Ze	d��Z
e	d��Ze	d	��Zd
�Z
d�Zd�ZRS(t	localhosti�^iig@c
Ks�tt|�jd|d|d|d|d|d|d|d|d	|	|�	|
|_||_tj�|_t|_	t
d
|
�|_tjd|j
dd
t|��|_t|j_|jj�dS(s~
        :param kwargs: This kwargs argument is not used in __init__. This will be removed in the next major version.
        R	thosttporttbufmaxttimeouttverbosetbuffer_overflow_handlertnanosecond_precisiontmsgpack_kwargstmaxsizettargettnamesAsyncFluentSender %dN(tsuperRt__init__t_queue_maxsizet_queue_circulart	threadingtEventt
_thread_guardtFalset_closedRt_queuetThreadt
_send_looptidt_send_threadtTruetdaemontstart(
tselfR	RRRRRRRRt
queue_maxsizetqueue_circularR
((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pyR.s0			c	Cs�|j�z|jrdSt|_|sbx9tr^y|jjdt�Wq)tk
rZPq)Xq)Wn|jjt�|j	j
�WdQXdS(Ntblock(tlockR"R(R#tgetR!Rtputt
_TOMBSTONER'tjoin(R+tflush((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pyR
Os
			
cCs|jS(N(R(R+((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pyR,]scCs|jS(N(R(R+((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pytqueue_blockingascCs|jS(N(R(R+((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pyR-esc	Cs�|j��|jrtS|jr]|jj�r]y|jjdt�Wq]tk
rYq]Xny|jj|d|j�Wnt	k
r�tSXt
SWdQXdS(NR.(R/R"R!RR#tfullR0RR1RR((R+tbytes_((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pyt_sendis
	

cCsdtt|�j}z@x9trP|jjdt�}|tkrCPn||�qWWd|j�XdS(NR.(RRt_send_internalR(R#R0R2t_close(R+t
send_internalR7((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pyR%zs	cCs|j�dS(N(R
(R+texc_typetexc_valtexc_tb((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pyt__exit__�siiN(t__name__t
__module__R!tNonetDEFAULT_QUEUE_MAXSIZEtDEFAULT_QUEUE_CIRCULARRR(R
tpropertyR,R5R-R8R%R?(((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pyR-s"		
(t
__future__RRtqueueRRRtImportErrortfluentRt
fluent.senderRt__all__RCR!RDtobjectR2RBRRRRR
R(((sC/opt/alt/python27/lib/python2.7/site-packages/fluent/asyncsender.pyt<module>s"