##// 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:

r645:c8c27324 default
r2939:913f92bf default
Show More
slack.rst
20 lines | 755 B | text/x-rst | RstLexer

Slack integration

To set a Slack integration up, it is first necessary to set up a Slack webhook API endpoint for your Slack channel. This can be done at:

https://my.slack.com/services/new/incoming-webhook/

Select the channel you would like to use, and Slack will provide you with the webhook URL for configuration.

You can now create a Slack integration as outlined in :ref:`creating-integrations`.

Note

Some settings in the RhodeCode admin are identical to the options within the Slack integration. For example, if notifications are to be sent in a private chat, leave the "Channel" field blank. Likewise, the Emoji option within RhodeCode can override the one set in the Slack admin.