##// END OF EJS Templates
db: always use Session() for compatibility, Using Session is actually the...
db: always use Session() for compatibility, Using Session is actually the scoped_session which is not the same as the one which we "call". More here: http://docs.sqlalchemy.org/en/latest/orm/contextual.html#contextual-thread-local-sessions

File last commit:

r1:854a839a default
r506:4c6b9282 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|.