Skip to content

Conversation

@awrichar
Copy link
Contributor

@awrichar awrichar commented Feb 3, 2022

Instead of instantiating all plugins up front, instantiate them on demand.

Fixes #467

Instead of instantiating all plugins up front, instantiate them on demand.

Fixes hyperledger#467

Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
@awrichar
Copy link
Contributor Author

awrichar commented Feb 3, 2022

Looks like the events factory actually does want singletons and not a true factory...

It appears that this factory actually relies on the singleton behavior.

Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
@codecov-commenter
Copy link

Codecov Report

Merging #474 (7cb1cea) into main (a3992b8) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #474   +/-   ##
=======================================
  Coverage   99.92%   99.92%           
=======================================
  Files         266      266           
  Lines       15134    15134           
=======================================
  Hits        15123    15123           
  Misses         11       11           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a3992b8...7cb1cea. Read the comment docs.

Copy link
Contributor

@peterbroadhurst peterbroadhurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense. I feel like we could at some point spend some more cycles to make it feel cleaner, but I don't think it justifies further distraction now.

@peterbroadhurst peterbroadhurst merged commit 081f301 into hyperledger:main Feb 4, 2022
@peterbroadhurst peterbroadhurst deleted the factory branch February 4, 2022 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When multiple token connectors are configured, FireFly only sends requests to one

3 participants