##// END OF EJS Templates
vcs: Use a thread scoped cache invalidation context to cache repository objects....
vcs: Use a thread scoped cache invalidation context to cache repository objects. Without this change the cache is on a process scope. If running with multiple threads this leads to sharing the cached object between threads. This will cause exceptions if multiple threads are trying to access the same curl object. Even worse it allows multiple threads to operate on the same repository object concurrently.

File last commit:

r1:854a839a default
r614:cbe55781 default
Show More
tuning-increase-cache-size.rst
17 lines | 602 B | text/x-rst | RstLexer
/ docs / admin / tuning-increase-cache-size.rst

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.

beaker.cache.long_term.expire=3600  # day (86400) week (604800)

Note

The |RCE| cache automatically expires for changed |repos|.