await socket.join is not waiting for other instances to have updated state
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- postgresql, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 27
- フォーク
- 9
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
socketio/socket.io-postgres-adapter のほかの issue
-
serverSideEmit(..., callback) does not deliver events until heartbeat is triggered再び着手できるかも @Harjot2022 が 202 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
socketio/socket.io-postgres-adapter#16 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 43/100
socketio/socket.io-postgres-adapter#13 · コメント 4 件 · リアクション 1 件 ·
socketio/socket.io-postgres-adapter の issue をすべて見る
似ている issue
-
area: desktop area: website priority: P2 type: feature
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
appandflow/stim#3411 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
rjsf-team/react-jsonschema-form#5485 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
lingdojo/kana-dojo#32090 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
Friction: Org home and org switcher copy still say repositories and connected agents live in the personal account対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンfriction
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
kentcdodds/kody#3265 ·
メンテナーはふだん 1 日以内に返信