INNER CODE UNIT · Python

attempt

simonw/simonw · build_readme.py:37

            if attempt == MAX_RETRIES - 1:
                raise
            print("  GraphQL network error, retrying...")
        time.sleep(2**attempt)

TOKEN = os.environ.get("SIMONW_TOKEN", "")

OWNERS = "owner:simonw owner:dogsheep owner:datasette"

# How many hours back the scheduled (incremental) run looks at. The workflow
# runs hourly, so 3 hours gives a comfortable overlap in case a run is skipped.
INCREMENTAL_HOURS = 3

SKIP_REPOS = {
    "playing-with-actions",
    "simonw-readthedocs-experiments",
    "datasette-comments",
    "datasette-plot",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…