Skip to content

Commit

Permalink
Remove TTS cache objects (2600hz#6197)
Browse files Browse the repository at this point in the history
Fixed removing tts cache records from ecallmgr_util_cache after
kz_media_tts_cache is terminated.

Forward-port of 2600hz#6169
  • Loading branch information
jamesaimonetti authored and icehess committed Dec 16, 2019
1 parent bfe1bd0 commit 86a8120
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/kazoo_media/src/kz_media_tts_cache.erl
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,9 @@ stop_timer(Ref) when is_reference(Ref) ->

-spec publish_doc_update(kz_term:ne_binary()) -> 'ok'.
publish_doc_update(Id) ->
DbId = kz_binary:md5(Id),
API =
[{<<"ID">>, Id}
[{<<"ID">>, DbId}
,{<<"Type">>, Type = <<"media">>}
,{<<"Database">>, Db = <<"tts">>}
,{<<"Rev">>, <<"0">>}
Expand Down

0 comments on commit 86a8120

Please sign in to comment.