Skip to content

Commit

Permalink
Increase ACK deadline for audio processing to max runtime + 60 secs
Browse files Browse the repository at this point in the history
  • Loading branch information
nkalupahana committed Jun 26, 2024
1 parent 233d3d8 commit 8f672eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scheduled-services/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ resource "google_pubsub_topic" "pubsub_audio_processing" {
resource "google_pubsub_subscription" "pubsub_audio_processing_sub" {
name = "pubsub-audio-processing-sub"
topic = google_pubsub_topic.pubsub_audio_processing.name

ack_deadline_seconds = 360

push_config {
push_endpoint = "${var.endpoint}/processAudio"
oidc_token {
Expand Down

0 comments on commit 8f672eb

Please sign in to comment.