You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/browser-rendering/limits.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ To increase this limit, go to the **Compute (Workers) > Workers plans** page in
27
27
| Browser timeout | 60 seconds |
28
28
| Total requests per min (REST API only) | 6 per minute [^1]|
29
29
30
-
[^1]: Rate limits are enforced with a fixed **per-second fill rate**. For example, a limit of 6 requests per minute translates to **1 request every 10 seconds**. This means you cannot send all 6 requests at once; the API expects them to be spread evenly over the minute. If your account has a custom higher limit, it will also be enforced as a per-second rate.
30
+
[^1]: Rate limits are enforced with a fixed per-second fill rate. For example, a limit of six requests per minute translates to one request every 10 seconds. This means you cannot send all six requests at once; the API expects them to be spread evenly over the minute. If your account has a custom higher limit, it will also be enforced as a per-second rate.
31
31
32
32
:::note[Note on browser timeout]
33
33
By default, a browser will time out if it does not get any [devtools](https://chromedevtools.github.io/devtools-protocol/) command for 60 seconds, freeing one instance. Users can optionally increase this by using the [`keep_alive` option](/browser-rendering/puppeteer/#keep-alive). `browser.close()` releases the browser instance.
@@ -41,13 +41,13 @@ The limits for Browser Rendering will continue to be raised over time. In the me
| Concurrent browsers per account (Workers Bindings only) | 30 per account [^1][^2]|
45
-
| New browser instances per minute (Workers Bindings only) | 30 per minute [^1][^2]|
44
+
| Concurrent browsers per account (Workers Bindings only) | 30 per account [^2]|
45
+
| New browser instances per minute (Workers Bindings only) | 30 per minute [^2]|
46
46
| Browser timeout | 60 seconds |
47
-
| Total requests per min (REST API only) | 180 per minute [^1][^2]|
47
+
| Total requests per min (REST API only) | 180 per minute [^2][^3]|
48
48
49
-
[^1]: Rate limits are enforced with a fixed **per-second fill rate**. For example, a limit of 180 requests per minute translates to **3 requests per second**. This means you cannot send all 180 requests at once; the API expects them to be spread evenly over the minute. If your account has a custom higher limit, it will also be enforced as a per-second rate.
50
49
[^2]: Contact our team to request increases to this limit.
50
+
[^3]: Rate limits are enforced with a fixed per-second fill rate. For example, a limit of 180 requests per minute translates to three requests per second. This means you cannot send all 180 requests at once; the API expects them to be spread evenly over the minute. If your account has a custom higher limit, it will also be enforced as a per-second rate.
51
51
52
52
:::note[Note on browser timeout]
53
53
By default, a browser will time out if it does not get any [devtools](https://chromedevtools.github.io/devtools-protocol/) command for 60 seconds, freeing one instance. Users can optionally increase this by using the [`keep_alive` option](/browser-rendering/puppeteer/#keep-alive). `browser.close()` releases the browser instance.
@@ -74,7 +74,7 @@ By default, a browser instance will time out after 60 seconds of inactivity. If
74
74
75
75
### Is there a maximum session duration?
76
76
77
-
There is no fixed maximum lifetime for a browser session as long as it remains active. By default, Browser Rendering closes sessions after 1 minute of inactivity to prevent unintended usage. You can [increase this inactivity timeout](/browser-rendering/puppeteer/#keep-alive) to up to 10 minutes.
77
+
There is no fixed maximum lifetime for a browser session as long as it remains active. By default, Browser Rendering closes sessions after one minute of inactivity to prevent unintended usage. You can [increase this inactivity timeout](/browser-rendering/puppeteer/#keep-alive) to up to 10 minutes.
78
78
79
79
If you need sessions to remain open longer, keep them active by sending a command at least once within your configured inactivity window (for example, every 10 minutes). Sessions also close when Browser Rendering rolls out a new release.
0 commit comments