memory(cache): extend EOL when a file metadata is retrieved
This commit is contained in:
parent
f71b40f86f
commit
48c56ee57e
1 changed files with 24 additions and 12 deletions
|
|
@ -380,13 +380,10 @@ class Const(object):
|
|||
## 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")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue