2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 20:57:19 +08:00
Files
panel/config/queue.go
2024-05-29 19:20:06 +08:00

24 lines
479 B
Go

package config
import (
"github.com/goravel/framework/facades"
)
func init() {
config := facades.Config()
config.Add("queue", map[string]any{
// Default Queue Connection Name
"default": "async",
// Queue Connections
//
// Here you may configure the connection information for each server that is used by your application.
// Drivers: "sync", "async", "custom"
"connections": map[string]any{
"async": map[string]any{
"driver": "async",
},
},
})
}