mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Set value on cache miss
This commit is contained in:
parent
8c6d84575e
commit
0b114f89e8
@ -67,6 +67,7 @@ func (ds *Datastore) Get(key string) (ConfigEntry, error) {
|
||||
Key: resultKey,
|
||||
Value: resultValue,
|
||||
}
|
||||
ds.SetCachedValue(resultKey, resultValue)
|
||||
|
||||
return result, nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user