small updates
This commit is contained in:
1 parent
25632e1938
commit
965af7e4ee
5 files changed
+57
-16
No files matched your search
@@ -11,6 +11,10 @@ PROXIES_PATH = pathlib.Path("proxies.txt")
|
||||
|
||||
RETRY_LIMIT = 5
|
||||
RETRY_WAIT = 3
|
||||
BACKOFF_DELAY = 0.001
|
||||
FAILURE_DELAY = 0.001
|
||||
MAX_BACKOFF = 10
|
||||
|
||||
TIMEOUT_SECONDS = 30
|
||||
CLIENT_IDENTIFIERS = ["chrome", "chrome_android", "safari", "safari_ios"]
|
||||
CLIENT_TIMEOUT = aiohttp.ClientTimeout(
|
||||
@@ -32,6 +36,10 @@ BUCKET_WEBHOOK_MAP = {
|
||||
"price_drop": "40-49",
|
||||
}
|
||||
MONITOR_NAMES = ["bestbuy", "woot", "lg", "hp", "samsung"]
|
||||
STATUS_PENDING = "pending"
|
||||
STATUS_SENT = "sent"
|
||||
STATUS_SKIPPED = "skipped"
|
||||
STATUS_FAILED = "failed"
|
||||
|
||||
EXPECTED_TASK_ERRORS = (
|
||||
RequestsError,
|
||||
|
||||
Reference in new issue
Block a user