Skip to content

chore: refactor entry into deployment and runtime #14575

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

Merged
merged 8 commits into from
Sep 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update coderd/runtimeconfig/manager.go
Co-authored-by: Danny Kopping <danny@coder.com>
  • Loading branch information
Emyrk and dannykopping authored Sep 5, 2024
commit 522cde1094411c4e88b00f93eb2a93ac921fe513
1 change: 1 addition & 0 deletions coderd/runtimeconfig/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ type cacheEntry struct {
// MemoryCacheManager is an example of how a caching layer can be added to the
// resolver from the manager.
// TODO: Delete MemoryCacheManager and implement it properly in 'StoreManager'.
// TODO: Handle pubsub-based cache invalidation.
type MemoryCacheManager struct {
cache *syncmap.Map[string, cacheEntry]
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice! TIL about syncmap

Copy link
Member Author

Choose a reason for hiding this comment

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

Handy little guy

}
Expand Down
Loading