Add generic Luigi install logic
at least try to do what we can to reduce boilerplate
This commit is contained in:
parent
ca59000287
commit
6bf697da1d
9 changed files with 302 additions and 0 deletions
36
rattail_fabric2/deploy/luigi/luigi.cfg.mako
Normal file
36
rattail_fabric2/deploy/luigi/luigi.cfg.mako
Normal file
|
@ -0,0 +1,36 @@
|
|||
## -*- mode: conf; -*-
|
||||
|
||||
<%text>############################################################</%text>
|
||||
#
|
||||
# Luigi config
|
||||
#
|
||||
# cf. https://luigi.readthedocs.io/en/stable/configuration.html
|
||||
#
|
||||
<%text>############################################################</%text>
|
||||
|
||||
|
||||
# [core]
|
||||
|
||||
# # Number of seconds to wait before timing out when making an API call. Defaults
|
||||
# # to 10.0
|
||||
# # (sometimes things can lag for us and we simply need to give it more time)
|
||||
# rpc_connect_timeout = 60
|
||||
|
||||
# # The maximum number of retries to connect the central scheduler before giving
|
||||
# # up. Defaults to 3
|
||||
# # (occasional network issues seem to cause us to need more/longer retries)
|
||||
# rpc_retry_attempts = 10
|
||||
|
||||
# # Number of seconds to wait before the next attempt will be started to connect
|
||||
# # to the central scheduler between two retry attempts. Defaults to 30
|
||||
# # (occasional network issues seem to cause us to need more/longer retries)
|
||||
# rpc_retry_wait = 60
|
||||
|
||||
[scheduler]
|
||||
state_path = ${appdir}/luigi/state.pickle
|
||||
% if db_connection:
|
||||
record_task_history = true
|
||||
|
||||
[task_history]
|
||||
db_connection = ${db_connection}
|
||||
% endif
|
Loading…
Add table
Add a link
Reference in a new issue