Show More
@@ -466,6 +466,20 b' def _sanitize_cache_settings(settings):' | |||||
466 | 'rc_cache.cache_repo.arguments.filename', |
|
466 | 'rc_cache.cache_repo.arguments.filename', | |
467 | os.path.join(tempfile.gettempdir(), 'rc_cache_2')) |
|
467 | os.path.join(tempfile.gettempdir(), 'rc_cache_2')) | |
468 |
|
468 | |||
|
469 | # cache_license | |||
|
470 | _string_setting( | |||
|
471 | settings, | |||
|
472 | 'rc_cache.cache_license.backend', | |||
|
473 | 'dogpile.cache.rc.file_namespace') | |||
|
474 | _int_setting( | |||
|
475 | settings, | |||
|
476 | 'rc_cache.cache_license.expiration_time', | |||
|
477 | 5*60) | |||
|
478 | _string_setting( | |||
|
479 | settings, | |||
|
480 | 'rc_cache.cache_license.arguments.filename', | |||
|
481 | os.path.join(tempfile.gettempdir(), 'rc_cache_3')) | |||
|
482 | ||||
469 | # cache_repo_longterm memory, 96H |
|
483 | # cache_repo_longterm memory, 96H | |
470 | _string_setting( |
|
484 | _string_setting( | |
471 | settings, |
|
485 | settings, |
General Comments 0
You need to be logged in to leave comments.
Login now