Mercurial > libervia-backend
diff sat/core/constants.py @ 3188:a15773c6c273
memory(cache): extend EOL when a file metadata is retrieved
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 26 Feb 2020 22:03:15 +0100 |
parents | d92a144f3589 |
children | adf1aeaa0d37 |
line wrap: on
line diff
--- a/sat/core/constants.py Wed Feb 26 22:03:11 2020 +0100 +++ b/sat/core/constants.py Wed Feb 26 22:03:15 2020 +0100 @@ -380,13 +380,10 @@ ## Misc ## SAVEFILE_DATABASE = APP_NAME_FILE + ".db" IQ_SET = '/iq[@type="set"]' - # Prefix used for environment variables - ENV_PREFIX = "SAT_" + ENV_PREFIX = "SAT_" # Prefix used for environment variables IGNORE = "ignore" - # used in bridge when a integer value is expected - NO_LIMIT = -1 - # default max age of cached files, in seconds - DEFAULT_MAX_AGE = 3600 * 24 * 14 + NO_LIMIT = -1 # used in bridge when a integer value is expected + DEFAULT_MAX_AGE = 1209600 # default max age of cached files, in seconds HASH_SHA1_EMPTY = "da39a3ee5e6b4b0d3255bfef95601890afd80709" STANZA_NAMES = ("iq", "message", "presence")