Files
ca/internal/db/schema/schema.go
dissoupovandGitHub 4667e96e3f Upgrade deps (#4)
* Update docs

* Upgrade deps
2026-10-16 16:34:15 -05:00

11 lines
303 B
Go

package schema
// TableInfo.AllColumns caches its result in the table on first use without
// a lock, so the first concurrent callers race on the write. Warm the cache
// while the process is still single-threaded: at init.
func init() {
for _, t := range TrustycadbTables {
_ = t.AllColumns()
}
}