Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discrepancy between readyState and _readyState values #15174

Open
2 tasks done
Faisal-vyomr opened this issue Jan 9, 2025 · 0 comments
Open
2 tasks done

discrepancy between readyState and _readyState values #15174

Faisal-vyomr opened this issue Jan 9, 2025 · 0 comments

Comments

@Faisal-vyomr
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Mongoose version

8.7.1

Node.js version

22.11.0

MongoDB server version

6.0.19

Typescript version (if applicable)

6

Description

Image

I see descrepency in readyState 0 and _readyState 1 in my project.

i am working on caching. if db state is 0. I try new connection. Not sure why it remains 0

Steps to Reproduce

Not sure how to reproduce it happens almost every time

Expected Behavior

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant