Commit graph

10 commits

Author SHA1 Message Date
Eric Case d2cc85b697
Support loading config via env var
In addition to loading the config via a `config.json` file, this change allows it to be loaded via an environment variable called `CZDS_CONFIG`. This makes it straightforward to deploy to services like Heroku, which tend to use env vars for config. See https://12factor.net/ for details.
2019-03-28 15:58:45 -07:00
dongmei-cao 6c082c8fe4
Merge pull request #3 from liheyuan/master
Add stream flag to requests.get avoid Memory Error
2019-02-19 12:51:34 -08:00
Coder4 b8f178ba25
Add stream flag to avoid Memory Error
If not add stream flag, large file will be total load into memory, which cause MemoryError on small RAM server.
2019-02-15 17:40:29 +08:00
Dongmei Cao b63c004c32 Change the URLs to production in the config.sample.json 2019-01-31 16:18:45 -08:00
Dongmei Cao 51644f09db Update README 2019-01-23 12:19:44 -08:00
Dongmei Cao 11d2de4aef Print out the time spent to download all the zone files. 2018-12-08 00:13:10 -08:00
Dongmei Cao 09a0a4bb1c Update the Java repo links in README 2018-12-07 10:29:53 -08:00
Simon 640ad461cb
Update README.md 2018-12-07 10:08:19 -08:00
Dongmei Cao 075d038226 Initial version 2018-12-06 19:09:12 -08:00
Simon b543483d84
Initial commit 2018-12-06 10:23:57 -08:00