ÿØÿà JPEG ÿþ;
| Server IP : 68.65.120.201 / Your IP : 216.73.216.29 Web Server : LiteSpeed System : Linux server179.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : taxhyuvu ( 2294) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/ssa/modules/__pycache__/ |
Upload File : |
�
8Heh�$ � �" � d Z ddlZddlZddlZddlZddlZddlmZmZmZ ddl m
Z
mZmZ ddl
mZmZ ddlmZmZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ d
dlmZmZm Z m!Z!m"Z"m#Z# d
dl$m%Z% d
dl&m'Z'm(Z(m)Z) e' G d� de� � � � Z*dS )z-
This module contains RequestProcessor class
� N)�datetime� timedelta�timezone)�Thread�RLock�current_thread)�Callable�Any)�Queue�Empty)�OperationalError� )�
AutoTracer)�Common)�
DecisionMaker)�StatisticsSender� )�
session_scope�setup_database�
RequestResult�cleanup_old_data�restore_database�is_malformed_database)�SSAError)� singleton� url_split�switch_schedstatsc �� � � e Zd ZdZdZdZd� fd� Zed� � � Zde fd�Z
dd
�Zdd�Zdd�Z
d
ed efd�Zddefd�Zd� Zd� Zeded efd�� � Zd� Zd� Zd� Zde d dfd�Zd� Zd� Z� xZS ) �RequestProcessorz^
SSA Request processor implementation.
Only one instance is allowed to be created
�d � Nc �� �� t � � � � � t j d� � | _ | j � dt � � t d�� � |r|n
t � � | _ t � � | _ t | j �� � | _
t � � | _ t! | j �� � | _ t% � � | _ g | _ | � � � | � � � t/ j t. j | j � � t/ j t. j | j � � d S )N�
req_processorzProcessor enabled: %sT��enabled)�engine)�super�__init__�logging� getLogger�logger�info�__package__r r r&