cuddly-napkin-87317
08/25/2025, 2:49 AMtall-airline-16756
08/25/2025, 2:49 AMtall-airline-16756
08/25/2025, 2:50 AMcuddly-napkin-87317
08/25/2025, 2:52 AMtall-airline-16756
08/25/2025, 2:53 AMmax_retries value to cut down on how many times it retries.
2. Give the min_retry_delay and max_retry_delay values a bump to spread out the retries a bit more—this can really help if it’s just a temporary network hiccup.
3. Keep an eye on your egress status with the EgressInfo API so you can spot any failures early on.
4. If something’s stuck retrying over and over, use the StopEgress API to pause those processes and save your quota.
5. Think about setting up backup storage to save any failed uploads locally or somewhere else easy to get to.
Making these tweaks should give you better control over your quota. If you want a hand with any of these steps or need to troubleshoot further, just let me know—I’m here to help!
Sources: Infrastructure & Deployment | livekit/livekit_composite | DeepWiki | test/edge.go | Quotas and limits | LiveKit Docscuddly-napkin-87317
08/25/2025, 2:54 AMtall-airline-16756
08/25/2025, 2:54 AMmax_retries value in your egress setup for AWS S3:
storage:
s3:
bucket: "my-recordings"
region: "us-west-2"
max_retries: 2
max_retry_delay: 5s
min_retry_delay: 500ms
So, with max_retries set to 2 here, the egress service will try up to 2 times again (that’s 3 tries total including the first one) before giving up on the upload.
About your worry that retries keep going even after stopping the egress—this might happen if the retry logic is handled by the storage upload process itself, not the egress service. If you want, I’m happy to dig into this more or help you tweak the config. Just let me know!
Sources: README.md | Infrastructure & Deployment | livekit/livekit_composite | DeepWikicuddly-napkin-87317
08/25/2025, 2:55 AMtall-airline-16756
08/25/2025, 2:56 AMmax_retries parameter isn’t something you set directly in the egress request. Instead, you’ll find it in the Egress service’s YAML configuration file, tucked under the storage.s3 section. Here’s a little example to make it clearer:
storage:
s3:
bucket: "your-bucket-name"
region: "your-region"
max_retries: 2
max_retry_delay: "5s"
min_retry_delay: "500ms"
This config file usually gets linked via the EGRESS_CONFIG_FILE or EGRESS_CONFIG_BODY environment variable. If you want, I’m happy to help you find it or tweak it—just let me know!
Sources: pkg/config/base.gocuddly-napkin-87317
08/25/2025, 2:56 AMtall-airline-16756
08/25/2025, 2:57 AM