File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ Configure your `wrangler.json` for Cloudflare Workers:
111
111
"name" : " my-rivetkit-app" ,
112
112
"main" : " src/index.ts" ,
113
113
"compatibility_date" : " 2025-01-20" ,
114
- "compatibility_flags" : [" nodejs_compat" ],
114
+ "compatibility_flags" : [" nodejs_compat" , " enable_request_signal " ],
115
115
"migrations" : [
116
116
{
117
117
"tag" : " v1" ,
@@ -135,6 +135,10 @@ Configure your `wrangler.json` for Cloudflare Workers:
135
135
}
136
136
```
137
137
138
+ <Note >
139
+ ` enable_request_signal ` compatibility flags is required if using SSE. Without it, SSE connections will never abort.
140
+ </Note >
141
+
138
142
Start the development server:
139
143
140
144
``` sh
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ Update your `wrangler.json` configuration to support `ACTOR_DO` and `ACTOR_KV` b
83
83
"name" : " my-rivetkit-app" ,
84
84
"main" : " src/index.ts" ,
85
85
"compatibility_date" : " 2025-01-20" ,
86
- "compatibility_flags" : [" nodejs_compat" ],
86
+ "compatibility_flags" : [" nodejs_compat" , " enable_request_signal " ],
87
87
"migrations" : [
88
88
{
89
89
"tag" : " v1" ,
@@ -107,6 +107,10 @@ Update your `wrangler.json` configuration to support `ACTOR_DO` and `ACTOR_KV` b
107
107
}
108
108
```
109
109
110
+ <Note >
111
+ ` enable_request_signal ` compatibility flags is required if using SSE. Without it, SSE connections will never abort.
112
+ </Note >
113
+
110
114
** Configuration Requirements:**
111
115
112
116
- ` ACTOR_DO ` - Durable Object binding for actor persistence
You can’t perform that action at this time.
0 commit comments