model.save response too slow
Problem
Probably bug with mongoose 5.0.12 and 5.0.13 mongoose model.save after start project first response 1s, with mongoose 5.0.4 it start fine (this problem only with 1st save, get.request returns fast, after 1st save it works fine) first run with 5.0.4v 55.944 ms first run with 5.0.13v 1076.606 ms first run with 5.0.12v 1076.509 ms node 8.7.0 mongoDB 3.6.1
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: model.save response too slow
@StanislavRastorguev I tried to duplicate what you are seeing with the following script 6321.js [code block] output for versions 5.0.{4..13} [code block] Can you please provide a similar script that demonstrates the issue? Feel free to use mine and report back with your results.
Trust Score
1 verification
- 1
@StanislavRastorguev I tried to duplicate what you are seeing with the following
@StanislavRastorguev I tried to duplicate what you are seeing with the following script
- 2
Step 2
[code block] output for versions 5.0.{4..13} [code block] Can you please provide a similar script that demonstrates the issue? Feel free to use mine and report back with your results.
Validation
Resolved in Automattic/mongoose GitHub issue #6321. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep