@cloudflare/sandbox 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/container_src/index.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @cloudflare/sandbox
|
|
2
2
|
|
|
3
|
+
## 0.3.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#90](https://github.com/cloudflare/sandbox-sdk/pull/90) [`66cc85b`](https://github.com/cloudflare/sandbox-sdk/commit/66cc85b679b466b3ffb1f00fbd697670fc186f06) Thanks [@eastlondoner](https://github.com/eastlondoner)! - set bun idletimeout
|
|
8
|
+
|
|
3
9
|
## 0.3.5
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -73,7 +73,7 @@ npm install @cloudflare/sandbox
|
|
|
73
73
|
1. **Create a Dockerfile** (temporary requirement, will be removed in future releases):
|
|
74
74
|
|
|
75
75
|
```dockerfile
|
|
76
|
-
FROM docker.io/cloudflare/sandbox:0.3.
|
|
76
|
+
FROM docker.io/cloudflare/sandbox:0.3.6
|
|
77
77
|
|
|
78
78
|
# Expose the ports you want to expose
|
|
79
79
|
EXPOSE 3000
|
package/container_src/index.ts
CHANGED
|
@@ -87,6 +87,7 @@ console.log("[Container] Interpreter service ready - no cold start!");
|
|
|
87
87
|
console.log("[Container] All API endpoints available immediately");
|
|
88
88
|
|
|
89
89
|
const server = serve({
|
|
90
|
+
idleTimeout: 255,
|
|
90
91
|
async fetch(req: Request) {
|
|
91
92
|
const url = new URL(req.url);
|
|
92
93
|
const pathname = url.pathname;
|