You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error that shows up in Mongo's log is vague...
Assertion: 10334:Invalid BSONObj size: 21942433
... but it looks like Mongo has a maximum document size the defaults to 16MB and I might be hitting due to having a lot of embedded images.
Butter keeps waiting for a response from Mongo that never comes, so it never closes the connection to the browser, causing a silent failure from the user's perspective.
The text was updated successfully, but these errors were encountered:
This works, and now I'm confused why the failure left a connection open. I'd think that .save() would be async and return instantly, so res.json(...) would be called and close the connection in either case. Maybe it's not async? Weird.
The error that shows up in Mongo's log is vague...
... but it looks like Mongo has a maximum document size the defaults to 16MB and I might be hitting due to having a lot of embedded images.
Butter keeps waiting for a response from Mongo that never comes, so it never closes the connection to the browser, causing a silent failure from the user's perspective.
The text was updated successfully, but these errors were encountered: