Skip to content

Commit 5ce850e

Browse files
rpurdelbgrozev
andauthored
chore: remove outdated files and update docs (#56)
* chore: remove outdated files and update docs * Remove old backup file. --------- Co-authored-by: bgrozev <boris@jitsi.org>
1 parent 6b10bc4 commit 5ce850e

File tree

5 files changed

+17
-626
lines changed

5 files changed

+17
-626
lines changed

DISPATCHER_INTEGRATION.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,23 @@ wrangler tail --name=your-dispatcher-worker-name
188188

189189
## Monitoring
190190

191+
View Worker logs to see dispatcher calls:
192+
```bash
193+
cd worker
194+
npm run tail
195+
```
196+
197+
Look for:
198+
- `"Using dispatcher for sessionId: XXX"` - Dispatcher enabled
199+
- `"Dispatcher error:"` - Dispatcher RPC failures
200+
- `"Error dispatching transcription:"` - Parse or call errors
201+
202+
## Reference Implementation
203+
204+
The dispatcher integration is implemented in `worker/index.ts` with WebSocket interception, making it:
205+
- More maintainable (separated concerns)
206+
- More flexible (easy to add consumers)
207+
- More testable (clear interfaces)
191208
Look for these log messages:
192209
- `Connected to Dispatcher DO via WebSocket` - WebSocket connection established
193210
- `Dispatcher connection closed` - Connection lost

test/index.spec.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)