Skip to content

fix(config): Preserve explicit zero scraper timeout#262

Open
Gujiassh wants to merge 1 commit into
FujiwaraChoki:mainfrom
Gujiassh:fix/config-scraper-timeout-zero
Open

fix(config): Preserve explicit zero scraper timeout#262
Gujiassh wants to merge 1 commit into
FujiwaraChoki:mainfrom
Gujiassh:fix/config-scraper-timeout-zero

Conversation

@Gujiassh
Copy link
Copy Markdown

Summary

Preserves an explicit scraper_timeout value of 0 instead of treating it as missing and replacing it with the default 300.

The config helper now defaults only when the key is absent or set to null, and the regression tests cover both explicit zero and missing-key behavior.

Verification

  • . .venv/bin/activate && python -m pytest tests/test_config.py -q (6 passed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant