mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
feat: implement runtime configuration package with multi-org support (#14624)
runtime configuration package --------- Signed-off-by: Danny Kopping <danny@coder.com> Co-authored-by: Danny Kopping <danny@coder.com>
This commit is contained in:
10
coderd/runtimeconfig/doc.go
Normal file
10
coderd/runtimeconfig/doc.go
Normal file
@ -0,0 +1,10 @@
|
||||
// Package runtimeconfig contains logic for managing runtime configuration values
|
||||
// stored in the database. Each coderd should have a Manager singleton instance
|
||||
// that can create a Resolver for runtime configuration CRUD.
|
||||
//
|
||||
// TODO: Implement a caching layer for the Resolver so that we don't hit the
|
||||
// database on every request. Configuration values are not expected to change
|
||||
// frequently, so we should use pubsub to notify for updates.
|
||||
// When implemented, the runtimeconfig will essentially be an in memory lookup
|
||||
// with a database for persistence.
|
||||
package runtimeconfig
|
Reference in New Issue
Block a user