www_fpvone_cn/application/extra/queue.php

10 lines
569 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
return [
'connector' => 'redis', // 队列驱动使用 redis 推荐, 可选 database
'host' => '127.0.0.1', // redis 主机地址
'password' => '', // redis 密码
'port' => 6379, // redis 端口
'select' => 1, // redis db 库, 建议显示指定 1-15 的数字均可,如果缓存驱动是 redis避免和缓存驱动 select 冲突
'timeout' => 0, // redis 超时时间
'persistent' => false, // redis 持续性,连接复用
];