You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the last upgrade of my installation I noticed that the cache seems to be broken. Opening any repository took ages. However, I think I found the issue.
The gitolite_cache_max_time value for "Disabled" is 0 and for "until next commit" is -1.
The check for git_cache_enabled? in the xitolite_adapter checks for > 0 which means that "until next commit" is treated as disabled.
I therefore tried RedmineGitHosting::Config.gitolite_cache_max_time != 0 which seems to fix the issue.
regards
The text was updated successfully, but these errors were encountered:
Your welcome! I am currently still using the database cache adapter, but mainly because it has been used before. What are the advantages of the new adapters?
After the last upgrade of my installation I noticed that the cache seems to be broken. Opening any repository took ages. However, I think I found the issue.
The
gitolite_cache_max_time
value for "Disabled" is 0 and for "until next commit" is -1.The check for
git_cache_enabled?
in the xitolite_adapter checks for > 0 which means that "until next commit" is treated as disabled.I therefore tried
RedmineGitHosting::Config.gitolite_cache_max_time != 0
which seems to fix the issue.regards
The text was updated successfully, but these errors were encountered: