Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centralized CMS caching 1 #1830

Merged
merged 22 commits into from
Dec 20, 2023
Merged

Centralized CMS caching 1 #1830

merged 22 commits into from
Dec 20, 2023

Conversation

anthonyshull
Copy link
Contributor

@anthonyshull anthonyshull commented Dec 16, 2023

This PR aims to prove that a Redis connection has been made. It accepts requests to /cms/foo/bar (which will be made by the CMS). If it can connect to Redis, it will delete the corresponding key and log a notice. If it cannot connect to Redis, it will log a warning. It returns a 202 to the requestor regardless. Ergo, we'll know whether or not Redis is running, but incur no risk.

https://app.asana.com/0/555089885850811/1206129599937934/f

Comment on lines +54 to +55
{:nebulex, "2.5.2"},
{:nebulex_redis_adapter, "2.3.1"},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the only two new deps. Everything else is just alphabetization.

@anthonyshull anthonyshull changed the title Just enough of the cms caching pr to prove that redis is working Centralized CMS caching 1 Dec 16, 2023
@anthonyshull anthonyshull marked this pull request as ready for review December 18, 2023 20:30
@anthonyshull anthonyshull requested review from amaisano and a team as code owners December 18, 2023 20:30
@anthonyshull anthonyshull force-pushed the ags/centralized-cms-caching-1 branch from f4a6af9 to fa35d5a Compare December 19, 2023 14:21
apps/site/config/test.exs Outdated Show resolved Hide resolved
config/runtime.exs Outdated Show resolved Hide resolved
Copy link
Member

@paulswartz paulswartz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: do the new environment variables need to be added to ENVIRONMENT.md since they're required?

@anthonyshull anthonyshull merged commit de71c7a into master Dec 20, 2023
19 of 22 checks passed
@anthonyshull anthonyshull deleted the ags/centralized-cms-caching-1 branch December 20, 2023 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants