Show More
@@ -60,6 +60,7 b' cache_dir = %(here)s/data' | |||
|
60 | 60 | index_dir = %(here)s/data/index |
|
61 | 61 | app_instance_uuid = rc-develop |
|
62 | 62 | cut_off_limit = 256000 |
|
63 | vcs_full_cache = True | |
|
63 | 64 | force_https = false |
|
64 | 65 | commit_parse_limit = 25 |
|
65 | 66 | use_gravatar = true |
@@ -60,6 +60,7 b' cache_dir = %(here)s/data' | |||
|
60 | 60 | index_dir = %(here)s/data/index |
|
61 | 61 | app_instance_uuid = rc-production |
|
62 | 62 | cut_off_limit = 256000 |
|
63 | vcs_full_cache = True | |
|
63 | 64 | force_https = false |
|
64 | 65 | commit_parse_limit = 50 |
|
65 | 66 | use_gravatar = true |
@@ -60,6 +60,7 b' cache_dir = %(here)s/data' | |||
|
60 | 60 | index_dir = %(here)s/data/index |
|
61 | 61 | app_instance_uuid = ${app_instance_uuid} |
|
62 | 62 | cut_off_limit = 256000 |
|
63 | vcs_full_cache = True | |
|
63 | 64 | force_https = false |
|
64 | 65 | commit_parse_limit = 50 |
|
65 | 66 | use_gravatar = true |
@@ -941,6 +941,9 b' class Repository(Base, BaseModel):' | |||
|
941 | 941 | |
|
942 | 942 | @LazyProperty |
|
943 | 943 | def scm_instance(self): |
|
944 | import rhodecode | |
|
945 | full_cache = str2bool(rhodecode.CONFIG.get('vcs_full_cache')) | |
|
946 | if full_cache: | |
|
944 | 947 | return self.scm_instance_cached() |
|
945 | 948 | return self.__get_instance() |
|
946 | 949 |
General Comments 0
You need to be logged in to leave comments.
Login now