8000 [Suggestion] Ability to disable default service events from being emitted · Issue #922 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content

[Suggestion] Ability to disable default service events from being emitted #922

@cdimitroulas

Description

@cdimitroulas

At the moment I do not believe there is a way to disable the default events from being emitted when a service method call is completed e.g. created, patched, removed etc.

It would be good if those events could be disabled from being emitted. There are certain cases where real-time events are not necessary for a service but I have not been able to find a way to disable them. Normally, this would not be an issue but since we are using feathers-sync those events are also synced using mongodb.

We have been getting some Mubsub: broken cursor errors from time to time and I suspect they are due to really huge documents being saved in that collection (10,000+ lines) from one service which does some very large batch operations.

I am creating this issue to see if this suggestion is something that you would consider implement, or even if there is another solution to this problem that I have not discovered yet. Any help is much appreciated 🙏

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0