b374k
m1n1 1.01
Apache/2.2.15 (CentOS)
Linux obd60-6c49958d75-2q7cw 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64
uid=48(apache) gid=48(apache) groups=48(apache)
server ip : 104.21.65.202 | your ip : 10.244.126.0
safemode OFF
 >  / usr / lib64 / python2.6 / bsddb /
Filename/usr/lib64/python2.6/bsddb/dbutils.pyo
Size1.6 kb
Permissionrw-r--r--
Ownerapache
Create time23-Dec-2025 17:41
Last modified20-Jun-2019 19:45
Last accessed22-Apr-2026 09:45
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
Ñò
§ÚêLc@sqddklZddkZeiddjZeo ddUn
ddkZddZdZdZ
d �Z dS(
iÿÿÿÿ(tsleepNiisfrom . import dbgð?i�gn�ðù! @cOsÒt}|idd�}d|jo |d=nx�to�y|||�SWq3tij
oltotid|�nt|�|d9}|tjo
t}n|d8}|djo�qÉq3Xq3WdS(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"
t max_retriesiÿÿÿÿs%dbutils.DeadlockWrap: sleeping %1.3f
iiN( t_deadlock_MinSleepTimetgettTruetdbtDBLockDeadlockErrort_deadlock_VerboseFiletwritet_sleept_deadlock_MaxSleepTime(tfunctiont_argst_kwargst sleeptimeR((s%/usr/lib64/python2.6/bsddb/dbutils.pyt DeadlockWrap/s&
 





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