Automattic/monk

Manager._state not updated after reconnect

オープン

#293 opened on 2020/02/07

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (180 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (1,827 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

When following events are emitted:

  • open
  • close
  • reconnect The connection _state parameter is still STATE.CLOSED from the close event.

This because when a reconnect event is emitted by the MongoClient, the Manager _state parameter isn't updated to STATE.OPEN.

コントリビューターガイド