steemengine/settings.py is now a Python module, split logging into web and crons, plus reliability improvements to Coin Handlers
Updates since Version 1.0.2:
Commits: 54399be8
12834ca
ee69b41
71d5908
- NEW PACKAGE - Django-CORS is now used to enable cross-origin requests for the REST API
- Two new
.env
settings -CORS_ORIGIN_ALLOW_ALL
andCORS_ORIGIN_WHITELIST
(by default, all cross-origin requests are allowed, whitelist is disabled)
- Two new
Commit: fcc39e5
-
steemengine/settings.py
is now a modulesteemengine/settings/*.py
to help separate core Django settings, from the app's own settings- All settings module files have a docstring at the start, describing what
.env
vars are
used by them, their default, and what they actually do. - The settings module has been properly added to the documentation (
docs
folder).
- All settings module files have a docstring at the start, describing what
-
Logs are now split between
logs/web
andlogs/crons
to make it easier
to track where an error occurred. -
Various small changes to the default logging setup and settings
-
Fixed
has_loader
function in payments.coin_handlers -
Reliability improvements to Coin Handlers:
-
New base exception:
DeadAPIError
- for informing the calling code that
a necessary API is not functioning it should skip this loader/manager. -
decorators.retry_on_error
now allows a list of exceptionsfail_on
to be specified, if a listed exception is thrown by the wrapped function,
retry_on_error will stop retrying and re-raise the caught exception immediately. -
BitcoinLoader makes use of the new
fail_on
list, connection errors are now caught
and thrown asDeadAPIError
, avoiding wasted time re-trying an obviously dead daemon.
-
Commit: e6d53b37
post-release quick bug fix for default logger