The ServerSideEventSender service and DeferredEventSubscriber are registered on every request even when no module uses server-side event sending. Most installations only need the JS SDK.

This moves the server-side infrastructure into a new pianoanalytics_server submodule:

- ServerSideEventSender (namespace: Drupal\pianoanalytics_server)
- DeferredEventSubscriber
- Kernel tests

The base pianoanalytics module stays JS-only with zero overhead from server-side event code. Modules that need server-side sending (e.g. pianoanalytics_shorturl) depend on pianoanalytics_server instead.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Status: Active » Needs review

  • mably committed bd5ccc76 on 2.x
    task: #3584656 Move server-side event sending to a dedicated submodule...
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.