tweak(video): 视频渲染预算拉到 30 分钟

This commit is contained in:
2026-08-08 11:16:56 +08:00
parent ebcf3c5779
commit 6ba80f5109
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ const (
consoleMaxEditImages = 3
consoleVideoPollEvery = 2 * time.Second
consoleVideoDeadline = 20 * time.Minute
consoleVideoDeadline = 30 * time.Minute
)
// consoleSession is one minted DPoP token plus the key it is bound to. skew is
+1 -1
View File
@@ -291,7 +291,7 @@ func (c *Client) createPost(ctx context.Context, client tlsclient.HttpClient, to
// assets.grok.com is not anti-bot gated) until grok finishes rendering it.
// 404 means "still rendering"; auth failures abort.
func (c *Client) waitForAsset(ctx context.Context, client tlsclient.HttpClient, token, url string) error {
deadline := time.Now().Add(20 * time.Minute)
deadline := time.Now().Add(30 * time.Minute)
for {
if err := ctx.Err(); err != nil {
return err