Slack setup doesn't work if channels cache was recently cleared #23251
Labels
Notifications/Slack
Priority:P2
Average run of the mill bug
.Regression
Bugs that were previously fixed and/or bugs unintentionally shipped with new features.
Type:Bug
Product defects
Milestone
Describe the bug
A slack channels cache was added in #20570 to improve performance. The cache is only refreshed if it was not refreshed within the last 10 minutes. It is also cleared whenever a Slack token is deleted. This means that if you've deleted a Slack app within the last 10 minutes, you can't add a new one, because the cache will be empty and the check that the files channel exists will fail.
To Reproduce
Steps to reproduce the behavior:
Information about your Metabase Installation:
Current master
Severity
p1/2? only workaround is to wait 10 minutes and try again
The text was updated successfully, but these errors were encountered: