await socket.join is not waiting for other instances to have updated state
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- postgresql, typescript
- Área
- databases, distributed-systems
Línea de trabajo
Begin with the reported socket.join and server.in('room-id').emit calls and the Postgres adapter behavior across server instances. Verify the sequence in a multi-instance reproduction; done means establishing whether the missing broadcast is expected and identifying the relevant adapter change or clarification.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello, I am using Socket io v4 with Postgres adapter. All events are broadcasted and everything is working good except this case.
I have function that is joining room and exactly after that sending message.
await socket.join("room-id");
this.server.in('room-id').emit(event, payload);
I was actually trying to understand this adapter code and have feeling that await is not waiting for other instances of server to join room - that's why event is not broadcasted to all instances
- Lenguaje dominante
- TypeScript
- Estrellas
- 27
- Forks
- 9
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de socketio/socket.io-postgres-adapter
-
serverSideEmit(..., callback) does not deliver events until heartbeat is triggeredQuizá libre de nuevo @Harjot2022 la tomó hace 202 días y no hay ningún pull request abierto. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
socketio/socket.io-postgres-adapter#16 · 1 comentario ·
-
Shutting down adapterAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 43/100
socketio/socket.io-postgres-adapter#13 · 4 comentarios · 1 reacción ·
Todos los issues de socketio/socket.io-postgres-adapter
Issues similares
-
Dependencies view: `getParent` loops forever on untitled documents, extension host runs out of memoryPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 Menos de una hora Aptitud para principiantes 82/100
awslabs/visual-asset-management-system#413 ·
Los mantenedores suelen responder en 1 día
-
bug confirmed perf
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
videojs/video.js#9400 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug pending triage scope/agent
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
good first issue hacktoberfest
Dificultad 2/5 Medio día Aptitud para principiantes 70/100
HelpCode-ai/anythingmcp#996 ·
Los mantenedores suelen responder en 1 día