Skip to content

Commit e51c138

Browse files
committed
fix(websockets): remove back optimization check
1 parent c92bee9 commit e51c138

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

oada/services/http-handler/src/websockets.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,10 +500,13 @@ const plugin: FastifyPluginAsync = async (fastify) => {
500500
return;
501501
}
502502

503+
/**
504+
* TODO: Fix this check for when parents have listeners
503505
if (emitter.listeners(request.resource_id).length === 0) {
504506
// No WATCHes
505507
return;
506508
}
509+
*/
507510

508511
try {
509512
const change = await changes.getChangeArray(

0 commit comments

Comments
 (0)