microsoft / ghcrawler

Crawl GitHub APIs and store the discovered orgs, repos, commits, ...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add the ability to flush config on startup

jeffmcaffer opened this issue · comments

Currently on startup we look to see if there is a known config from the config provider, if there is, we use it. That's great for production scenarios but in testing its a pain as we typically have config in redis but you are wanting to tweak it for local execution.

Add a env var or command line param for the crawler startup that forces the recreation of the config. This would literally be a set of 5 calls to the config provider telling it to delete the config for the 5 subsystems. From there the normal lazy init code will repopulate the config.