mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 06:12:23 +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,
|
Key: resultKey,
|
||||||
Value: resultValue,
|
Value: resultValue,
|
||||||
}
|
}
|
||||||
|
ds.SetCachedValue(resultKey, resultValue)
|
||||||
|
|
||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue