##// END OF EJS Templates
shadow-repos: use safer way to destroy shadow repositories....
shadow-repos: use safer way to destroy shadow repositories. we had reported errors on removal of shadow repos. Not reproduced, however suspecting are filesystem sync/symlink race-conditions on shared storage. End result were existing shadow-repo directories that tricked rhodecode into thinking shadow repos is existing, but infact it was a dummy structure semi-removed. Using shutil.move we ENSURE rhodecode doesn't read those back even if removal fails.

File last commit:

r1:854a839a default
r2777:f1cc2e3d default
Show More
tuning-increase-cache-size.rst
17 lines | 602 B | text/x-rst | RstLexer
/ docs / admin / tuning-increase-cache-size.rst
project: added all source files and assets
r1 .. _cache-size:
Increase Cache Size
-------------------
When managing hundreds of |repos| from the main |RCE| interface the system
can become slow when the cache expires. Increasing the cache expiration
option improves the response times of the main user interface.
To increase your cache size, change the following default value in the
:file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` file. The value
is specified in seconds.
.. code-block:: ini
beaker.cache.long_term.expire=3600 # day (86400) week (604800)
.. note:: The |RCE| cache automatically expires for changed |repos|.