There was an error while loading. Please reload this page.
1 parent a80fbd2 commit 4e20bc3Copy full SHA for 4e20bc3
1 file changed
apps/sim/app/api/tools/buffer/server-utils.ts
@@ -22,6 +22,11 @@ const MEDIA_PROBE_TIMEOUT_MS = 5000
22
* Buffer fetches asset URLs at publish time, which for queued or scheduled
23
* posts can be days after createPost. Presign stored files for the S3 maximum
24
* of 7 days so scheduled posts within that window can still be published.
25
+ * The effective lifetime is additionally bounded by the signing credentials:
26
+ * Sim's storage clients sign with static keys (AWS_ACCESS_KEY_ID /
27
+ * AWS_SECRET_ACCESS_KEY), which support the full 7 days; deployments signing
28
+ * with temporary session credentials cap every presigned URL at the session
29
+ * lifetime platform-wide.
30
*/
31
const MEDIA_PRESIGN_EXPIRY_SECONDS = 7 * 24 * 60 * 60
32
0 commit comments