10000 EmailSenderListener adds significant overhead · Issue #3 · symfony/swiftmailer-bundle · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 6, 2022. It is now read-only.

EmailSenderListener adds significant overhead #3

Closed
schmittjoh opened this issue Feb 19, 2012 · 4 comments
Closed

EmailSenderListener adds significant overhead #3

schmittjoh opened this issue Feb 19, 2012 · 4 comments

Comments

@schmittjoh
Copy link
8000
Contributor

see symfony/symfony#3396

@evillemez
Copy link
Contributor

If symfony/symfony#3557 gets accepted, I'll implement it in the EmailSenderListener, which will prevent Swiftmail from loading on every request... stay tuned.

@stof
Copy link
Member
stof commented May 16, 2012

Closing as the IntrospectableContainerInterface is now used

@stof stof closed this as completed May 16, 2012
@MetalArend
Copy link
Contributor

This is a very old issue, but as the IntrospectableContainerInterface was removed from Symfony 3.0, the overhead that was mentioned here seems to be back. It seems removing the check for the IntrospectableContainerInterface implemented in symfony/symfony#3557 does the trick - if you are using Symfony 3.0.

@sstok
Copy link
sstok commented Aug 2, 2016

@MetalArend The IntrospectableContainerInterface is merged in the the ContainerInterface, the EmailSenderListener needs to be updated for this.

A method_exists() for initialized should do the trick. Feel free to open a pull-request 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
0