Skip to content

Commit

Permalink
Add sync queue adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
papac committed Oct 6, 2023
1 parent b2b9d3c commit e6674fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"require": {
"php": "^8.1",
"bowphp/framework": "^5.0",
"bowphp/framework": "5.x-dev",
"bowphp/policier": "^3.0"
},
"require-dev": {
Expand Down
7 changes: 5 additions & 2 deletions config/queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* The defaut connexion
*/
"default" => "beanstalkd",
"default" => "sync",

/**
* The queue drive connection
Expand All @@ -14,14 +14,15 @@
* The sync connexion
*/
"sync" => [
"directory" => storage_path("cache/queue")
"driver" => "sync",
],

/**
* The beanstalkd connexion
*/
"beanstalkd" => [
"hostname" => "127.0.0.0",
"queue" => "default",
"port" => 11300,
"timeout" => 10,
],
Expand All @@ -30,6 +31,7 @@
* The sqs connexion
*/
"sqs" => [
"queue" => "default",
"url" => app_env("SQS_URL"),
'region' => app_env('AWS_REGION'),
'version' => 'latest',
Expand All @@ -43,6 +45,7 @@
* The database connexion
*/
"database" => [
"queue" => "default",
"table" => "queues",
]
]
Expand Down

0 comments on commit e6674fb

Please sign in to comment.