mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-18 23:11:12 +02:00
docs(config): trim narration from xvfb + listing-retry comments
This commit is contained in:
parent
97e250be4b
commit
01bc3f8de3
1 changed files with 3 additions and 7 deletions
|
|
@ -728,11 +728,8 @@ class Config:
|
||||||
# Comments are the cheapest per-item TikTok data, matching the per-comment
|
# Comments are the cheapest per-item TikTok data, matching the per-comment
|
||||||
# market (and YouTube's comment meter).
|
# market (and YouTube's comment meter).
|
||||||
TIKTOK_MICROS_PER_COMMENT = int(os.getenv("TIKTOK_MICROS_PER_COMMENT", "1500"))
|
TIKTOK_MICROS_PER_COMMENT = int(os.getenv("TIKTOK_MICROS_PER_COMMENT", "1500"))
|
||||||
# Browser-listing retries when a feed comes back empty. The profile feed is
|
# Retry an empty listing draw on a fresh rotating IP. Set to 1 for a static
|
||||||
# withheld from flagged exit IPs; since the proxy rotates per request, each
|
# proxy, where every retry re-hits the same exit.
|
||||||
# retry lands a fresh IP, turning a bad first draw into a hit. Only spends on
|
|
||||||
# empty results. ponytail: assumes a rotating proxy — set to 1 for a static IP,
|
|
||||||
# where retrying just re-hits the same (flagged) exit.
|
|
||||||
TIKTOK_LISTING_MAX_ATTEMPTS = int(os.getenv("TIKTOK_LISTING_MAX_ATTEMPTS", "3"))
|
TIKTOK_LISTING_MAX_ATTEMPTS = int(os.getenv("TIKTOK_LISTING_MAX_ATTEMPTS", "3"))
|
||||||
|
|
||||||
# Low-balance WARNING threshold (micro-USD). Surfaced by the quota service
|
# Low-balance WARNING threshold (micro-USD). Surfaced by the quota service
|
||||||
|
|
@ -1154,8 +1151,7 @@ class Config:
|
||||||
# when leak-safety outweighs the marginal latency.
|
# when leak-safety outweighs the marginal latency.
|
||||||
CRAWL_DNS_OVER_HTTPS = os.getenv("CRAWL_DNS_OVER_HTTPS", "FALSE").upper() == "TRUE"
|
CRAWL_DNS_OVER_HTTPS = os.getenv("CRAWL_DNS_OVER_HTTPS", "FALSE").upper() == "TRUE"
|
||||||
# Promises an Xvfb display so the browser can run headful (TikTok's profile
|
# Promises an Xvfb display so the browser can run headful (TikTok's profile
|
||||||
# feed is empty to headless Chromium). Entrypoint starts Xvfb when TRUE;
|
# feed is empty to headless Chromium). Off keeps every browser headless.
|
||||||
# FALSE keeps every browser headless.
|
|
||||||
CRAWL_HEADED_XVFB_ENABLED = (
|
CRAWL_HEADED_XVFB_ENABLED = (
|
||||||
os.getenv("CRAWL_HEADED_XVFB_ENABLED", "FALSE").upper() == "TRUE"
|
os.getenv("CRAWL_HEADED_XVFB_ENABLED", "FALSE").upper() == "TRUE"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue