Dongmei Cao
7b49a2fde2
Merge pull request #6 from case/patch-1
...
Support loading config via env var
2020-09-25 09:19:24 -07:00
Dongmei Cao
2d777c6369
Merge pull request #8 from kidmose/feature/allow-defaulting-workdir
...
Allow omitting `working.directory` in `config.json` acc. to README
2020-09-25 09:18:02 -07:00
Dongmei Cao
cbb6838c97
Merge pull request #10 from spjj/filename-fix
...
correct handling of filename when not extracted from header
2020-09-25 08:58:25 -07:00
John Jensen
5802e7f1a1
correct handling of filename when not extracted from header
2020-09-25 12:17:44 -03:00
Egon Kidmose
3ab555eeb6
Allow omitting working.directory
in config.json
acc. to README
...
README suggests that `working.directory` can be omitted from
`config.json`, but doing this will cause a KeyNotFoundException.
The dictionary lookup has been modified to include a default value of
`'.'` which is according to README.
2020-03-09 13:10:21 +01:00
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