You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
In #37306 we added the support for SQS queue URL as DSN, however we're still calling getQueueUrl() internally, we could prevent that request as we already know the queue URL in that case.
I'm happy to work on a PR for this, but I would like to have some feedback about how we would like this to be implemented 😄
Idea
In Connection, to allow this to work with both fromDsn() and the constructor, I was thinking about adding an option queue_url which defaults to null.
This way someone instantiating the connection directly has the ability to pass that option, and in fromDsn() we can set this option based on $dsn.
Then we just need to update the getQueueUrl() method to use the option if set.