Work on temporary hosted files

This commit is contained in:
Scott Idem
2021-11-23 17:17:40 -05:00
parent 24c7411109
commit 523a7378c6
3 changed files with 13 additions and 9 deletions

View File

@@ -28,6 +28,9 @@ class Settings(BaseSettings):
HTTP_STATUS_LI[503] = { 'name': 'Service Unavailable', 'message': 'The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay MAY be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.' }
HTTP_STATUS_LI[504] = { 'name': 'Gateway Timeout', 'message': 'The server, while acting as a gateway or proxy, did not receive a timely response from the upstream server specified by the URI (e.g. HTTP, FTP, LDAP) or some other auxiliary server (e.g. DNS) it needed to access in attempting to complete the request.' }
PATH_HOSTED_FILES_ROOT = '/mnt/data_drive/srv/data/osit_app/hosted_hashed_dev' # Will contain only hashed files
PATH_HOSTED_TMP_ROOT = '/mnt/data_drive/srv/data/osit_app/hosted_tmp_dev' # Will contain only temporary files
DB_CFG_FASTAPI_ID = 0
settings = Settings()