mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Close redis connection after execution of cloud function
This commit is contained in:
parent
f6510103e5
commit
a20a7e55ac
1 changed files with 3 additions and 0 deletions
|
|
@ -221,6 +221,9 @@ export const textToSpeechStreamingHandler = Sentry.GCPFunction.wrapHttpFunction(
|
|||
)
|
||||
console.log('Cache saved')
|
||||
|
||||
await redisClient.quit()
|
||||
console.log('Redis Client Disconnected')
|
||||
|
||||
res.send({
|
||||
idx: utteranceInput.idx,
|
||||
audioData: audioDataString,
|
||||
|
|
|
|||
Loading…
Reference in a new issue