Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/mercurial/__pycache__/ |
Upload File : |
o �]Lb� � @ sd d dl mZ d dlZd dlZd dlZddlmZmZmZm Z m Z G dd� de�Zdd� Z d d � ZdS )� )�absolute_importN� )�error�hg�obsolete�scmutil�utilc @ sH e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z dS )� repoloaderz�Load repositories in background thread This is designed for a forking server. A cached repo cannot be obtained until the server fork()s a worker and the loader thread stops. c C s@ |� � | _tj|d�| _tj|d�| _d| _t � � | _d | _d S )N)�max)�maxlenF) �copy�_uir �lrucachedict�_cache�collections�deque�_inqueue� _accepting� threading�Event� _newentry�_thread)�self�uir � r �5/usr/lib/python3/dist-packages/mercurial/repocache.py�__init__ s zrepoloader.__init__c C s>