DEV: Memoize this constant so it isn't reloaded by rails (PR #14097)


There shouldn’t be a need to memoize this constant and the warning exists because we’re loading the file twice somewhere. A year or two back, I did a sweep through our code base and fixed most spots where this warning exists so we shouldn’t revert to the old behaviour.

Closed by DEV: Remove constant already initialized warning. (#29) · discourse/discourse-prometheus@3b41ec8 · GitHub