Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The [sync] queue connection has not been configured. #880

Closed
alvaronds opened this issue Dec 15, 2023 · 5 comments
Closed

The [sync] queue connection has not been configured. #880

alvaronds opened this issue Dec 15, 2023 · 5 comments
Labels
bug Issue, error or unexpected behavior

Comments

@alvaronds
Copy link

Q A
Bug? Don't know
New Feature? Think yes
Framework Laravel
Framework version 10.37.3
Package version 13.6.0
PHP version 8.2

Actual Behaviour

I don't want to use queues to add the audits to database. Since updated to 13.6.0, if I don't modify config file I get this error:
The [sync] queue connection has not been configured.
If I put a valid queue connection it works but uses queues, wich makes much database use for my app.

Expected Behaviour

I need direct execution as before. I think I have all well configurated.

Steps to Reproduce

Update to package version 13.6.0 and have this in audit.conf
'queue' => [
'connection' => 'sync',
'queue' => 'default',
'delay' => 0,
],

Update a model

@MortenDHansen
Copy link
Contributor

Do you have the connection in the queue.php config file?
`
'connections' => [

    'sync' => [
        'driver' => 'sync',
    ],

`

@MortenDHansen MortenDHansen added the bug Issue, error or unexpected behavior label Dec 15, 2023
@MortenDHansen
Copy link
Contributor

#846

@erikn69
Copy link
Contributor

erikn69 commented Dec 15, 2023

@MortenDHansen It would be a good idea to add some option for those who do not want/can use queue. #881

@MortenDHansen
Copy link
Contributor

We have released the opt-in version of v13.6.0. Hope that solves the issue 👍

@alvaronds
Copy link
Author

Thanks a lot for the responses and solution. It's resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue, error or unexpected behavior
Projects
None yet
Development

No branches or pull requests

3 participants