[DAEMON-308] Plugin manager telemetry doesn't wait for initialization
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2020-01-07T01:28:30.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Appc Daemon 3.2.0 |
| Components | appcd-plugin |
| Labels | n/a |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2020-01-06T18:42:07.000+0000 |
| Updated | 2020-01-07T06:34:38.000+0000 |
Description
The
PluginManager scans the initial plugin paths and then enables telemetry. The problem is detecting the plugin schemas is async and the PluginManager constructor does not properly block the enabling of telemetry events.
This behavior is leading to events unnecessary telemetry events being generated during start for each plugin.
PR 1: https://github.com/appcelerator/appc-daemon/pull/446 PR 2: https://github.com/appcelerator/appc-daemon/pull/447