scrapy / scrapyd

A service daemon to run Scrapy spiders
https://scrapyd.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
2.98k stars 569 forks source link

Make the config a component of the app #526

Open jpmckinney opened 4 months ago

jpmckinney commented 4 months ago

So that other components can get the config options directly from it.

For example, the poller and scheduler currently store the config, so that they can call get_spider_queues with it.

First mentioned in #186

jpmckinney commented 4 months ago

Temporarily added Root._config.

See the TODO and links to https://github.com/scrapy/scrapyd/issues/526 in the code.