##// END OF EJS Templates
caches: use .refresh() instead of .invalidate()...
caches: use .refresh() instead of .invalidate() - .invalidate() does a delete of cached valued under a key, which means in previous logic we delete, get_or_create, and compute. - .refresh() is simply replacing exising key with newly computed values, this creates less locks, and it's faster.

File last commit:

r1:854a839a default
r2939:913f92bf default
Show More
cleanup-cmds.rst
23 lines | 784 B | text/x-rst | RstLexer

|RCT| Clean Up Commands

|RCT| comes with a number of functions which can be used to administer your |RCE| instances. Two of these can be used to automate the cleanup of gists and |repos|

rhodecode-cleanup-gists

Use this command to delete gists within RhodeCode Enterprise. It takes a number of options for specifying the kind of gists you want deleted, and it is possible to run these commands from a cron job or cleanup script. For more information, see the :ref:`tools-cli`

rhodecode-cleanup-repos

Use this command to delete |repos| from your |RCE| instances. It takes a number of options specifying the kind of |repos| you want deleted. For more information, see the :ref:`tools-cli`