feat tts clear cache (#175)

* feat tts clear cache

* feat tts clear cache
This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2023-06-01 07:48:02 -04:00
1 parent c2065ef787
commit eba9c98412
7 files changed
+88 -86

No files matched your search

+5 -1
View File
@@ -42,7 +42,9 @@ const {
incrKey
} = require('./lib/helpers/realtimedb-helpers');
const {
getTtsVoices
getTtsVoices,
getTtsSize,
purgeTtsCache
} = require('@jambonz/speech-utils')({
host: process.env.JAMBONES_REDIS_HOST,
port: process.env.JAMBONES_REDIS_PORT || 6379
@@ -84,6 +86,8 @@ app.locals = {
retrieveKey,
deleteKey,
getTtsVoices,
getTtsSize,
purgeTtsCache,
lookupAppBySid,
lookupAccountBySid,
lookupAccountByPhoneNumber,