kopia lustrzana https://github.com/snarfed/bridgy-fed
rodzic
bb2d3e03de
commit
a2d9dcb4a9
|
@ -73,7 +73,7 @@ DOMAIN_BLOCKLIST = frozenset((
|
||||||
|
|
||||||
_DEFAULT_SIGNATURE_USER = None
|
_DEFAULT_SIGNATURE_USER = None
|
||||||
|
|
||||||
CACHE_TIME = timedelta(seconds=10)
|
CACHE_TIME = timedelta(seconds=60)
|
||||||
PAGE_SIZE = 20
|
PAGE_SIZE = 20
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ SESSION_COOKIE_HTTPONLY = True
|
||||||
# Not strict because we flash messages after cross-site redirects for OAuth,
|
# Not strict because we flash messages after cross-site redirects for OAuth,
|
||||||
# which strict blocks.
|
# which strict blocks.
|
||||||
SESSION_COOKIE_SAMESITE = 'Lax'
|
SESSION_COOKIE_SAMESITE = 'Lax'
|
||||||
|
CACHE_THRESHOLD = 3000
|
||||||
|
|
||||||
if appengine_info.DEBUG:
|
if appengine_info.DEBUG:
|
||||||
ENV = 'development'
|
ENV = 'development'
|
||||||
|
|
Ładowanie…
Reference in New Issue