Commit 804f9b2
authored
hotfix: revert BATCH_CONNECTION_REQUESTS default to False (#18)
PR #13 changed the default to True, but batching is broken:
1. SDK: addConnection expects an immediate response with connection_id
and peer_id. With batching, sendConnectionEvent queues the event and
returns undefined, causing the SDK to throw and remove the connection.
2. API: the batch endpoint (ConnectionEventBatchView) returns an empty
200 with no connection_id or peer_id, so even if the SDK didn't
crash, it couldn't map subsequent events to the connection.
Reverting to False (original behavior) to prevent connection monitoring
from breaking in production.1 parent 49125cf commit 804f9b2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments