Shared storage implementation

This commit is contained in:
Piero Toffanin 2023-03-09 16:09:04 -05:00
parent b59b82cfb0
commit e00f3af7db
5 changed files with 49 additions and 40 deletions

View file

@ -126,6 +126,13 @@ def get_args():
action="store_true",
help="Require use of an API key for programmatic access to the API, unless the client also sends a secret match",
)
parser.add_argument(
"--shared-storage",
type=str,
default=DEFARGS['SHARED_STORAGE'],
metavar="<Storage URI>",
help="Shared storage URI to use for multi-process data sharing (e.g. via gunicorn)",
)
parser.add_argument(
"--load-only",
type=operator.methodcaller("split", ","),