Skip to content

Add connection-level switch for buffering #5720

@vkarpov15

Description

@vkarpov15

Schema-level bufferCommands is confusing, especially since in order to actually disable buffering you need to disable it on the driver's connection as well. Would be nice to say bufferMaxEntries: 0 in mongoose.connect() disables mongoose buffering as well, but schema-level bufferCommands can still override.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionIf you have any thoughts or comments on this issue, please share them!

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions