Automattic/monk

Manager._state not updated after reconnect

Open

#293 建立於 2020年2月7日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (1,847 star) (202 fork)batch import
bughelp wanted

描述

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.

貢獻者指南