added logging config for init monitor
This commit is contained in:
1 parent
4ac8692539
commit
c13e0d3c77
6 files changed
+27
-23
No files matched your search
@@ -1,8 +1,8 @@
|
||||
# ik ua/tls doesn't match headers/header order but targeted antibots don't seem to care might fix later
|
||||
import asyncio
|
||||
import random
|
||||
import json
|
||||
import logging
|
||||
import random
|
||||
from contextlib import asynccontextmanager
|
||||
from typing import AsyncGenerator
|
||||
|
||||
@@ -23,11 +23,11 @@ from tenacity import (
|
||||
)
|
||||
|
||||
from monitor_utils.constants import (
|
||||
CLIENT_TIMEOUT,
|
||||
TIMEOUT_SECONDS,
|
||||
CLIENT_IDENTIFIERS,
|
||||
CLIENT_TIMEOUT,
|
||||
RETRY_LIMIT,
|
||||
RETRY_WAIT,
|
||||
TIMEOUT_SECONDS,
|
||||
)
|
||||
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
@@ -144,4 +144,4 @@ async def send_request(
|
||||
if reraise_json_error:
|
||||
raise
|
||||
|
||||
return text
|
||||
return text
|
||||
Reference in new issue
Block a user