mirror of
https://github.com/owncast/owncast.git
synced 2024-11-28 19:19:06 +03:00
Set value on cache miss
This commit is contained in:
parent
e6804d0233
commit
b6d575a286
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ func (ds *Datastore) Get(key string) (ConfigEntry, error) {
|
|||
Key: resultKey,
|
||||
Value: resultValue,
|
||||
}
|
||||
ds.SetCachedValue(resultKey, resultValue)
|
||||
|
||||
return result, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue