golden hour
/opt/cloudlinux/venv/lib/python3.11/site-packages/xray/agent/__pycache__
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.cpython-311.pyc
235 B
Del
OK
daemon.cpython-311.pyc
29.91 KB
Del
OK
executor.cpython-311.pyc
3.6 KB
Del
OK
fault_detector.cpython-311.pyc
10.77 KB
Del
OK
Edit: fault_detector.cpython-311.pyc
� ��j} � �t � d Z ddlZddlZddlmZmZ ddlmZ ddlmZm Z ddl mZmZm Z G d� d� � ZdS ) z[ This module contains FaultDetector class, aimed to track throttling for incoming requests � N)�datetime� timedelta)�RLock)�Tuple�Any)� drop_after�check_period�throttling_thresholdc �D � e Zd ZdZdZd� Zdededee ef fd�Z edefd�� � Zede fd �� � Zede fd �� � Zede fd�� � Zedede fd �� � Zdede fd�Zdededdfd�Zdeddfd�Zdededee ef fd�Zdd�Zdd�Zdefd�ZdS )� FaultDetectorz Fault Detector class i'