mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-15 23:01:02 +00:00
awstranscribe - increase presisigned url duration to 5 mins from 60s
Have seen a few times where machines that are in perfect time sync with a good source the requests fail with `RequestExpired` errors. https://docs.aws.amazon.com/transcribe/latest/dg/CommonErrors.html While not perfect, bumping to five minutes gives more a chance that the signed requests to start streaming won't be expired.
This commit is contained in:
parent
602dbc7a02
commit
cab33768e2
1 changed files with 2 additions and 1 deletions
|
@ -944,7 +944,8 @@ impl Transcriber {
|
|||
drop(settings);
|
||||
drop(state);
|
||||
|
||||
let url = signed.generate_presigned_url(&creds, &std::time::Duration::from_secs(60), true);
|
||||
let url =
|
||||
signed.generate_presigned_url(&creds, &std::time::Duration::from_secs(5 * 60), true);
|
||||
|
||||
let (ws, _) = {
|
||||
let _enter = RUNTIME.enter();
|
||||
|
|
Loading…
Reference in a new issue