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:
111111 "name" : " my-rivetkit-app" ,
112112 "main" : " src/index.ts" ,
113113 "compatibility_date" : " 2025-01-20" ,
114- "compatibility_flags" : [" nodejs_compat" ],
114+ "compatibility_flags" : [" nodejs_compat" , " enable_request_signal " ],
115115 "migrations" : [
116116 {
117117 "tag" : " v1" ,
@@ -135,6 +135,10 @@ Configure your `wrangler.json` for Cloudflare Workers:
135135}
136136```
137137
138+ <Note >
139+ ` enable_request_signal ` compatibility flags is required if using SSE. Without it, SSE connections will never abort.
140+ </Note >
141+
138142Start the development server:
139143
140144``` 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
8383 "name" : " my-rivetkit-app" ,
8484 "main" : " src/index.ts" ,
8585 "compatibility_date" : " 2025-01-20" ,
86- "compatibility_flags" : [" nodejs_compat" ],
86+ "compatibility_flags" : [" nodejs_compat" , " enable_request_signal " ],
8787 "migrations" : [
8888 {
8989 "tag" : " v1" ,
@@ -107,6 +107,10 @@ Update your `wrangler.json` configuration to support `ACTOR_DO` and `ACTOR_KV` b
107107}
108108```
109109
110+ <Note >
111+ ` enable_request_signal ` compatibility flags is required if using SSE. Without it, SSE connections will never abort.
112+ </Note >
113+
110114** Configuration Requirements:**
111115
112116- ` ACTOR_DO ` - Durable Object binding for actor persistence
You can’t perform that action at this time.
0 commit comments