queue.php
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: yunwuxin <448901948@qq.com>
// +----------------------------------------------------------------------
return [
//'connector' => 'Sync',
//redis
'connector'=>'redis',
'expire' => 600,
'default' => 'default',
'host' => 'r-m5e3efc969757c24.redis.rds.aliyuncs.com',
'port' => 6379,
'password' => 'bronet888!',
'select' => 4,
'timeout' => 600,
'persistent' => false,
//database
// 'connector' => 'database',
// 'expire' => 600,
// 'default' => 'default',
// 'table' => 'faqueue_jobs',
// 'dsn' => [
// 'type' => 'mysql',
// 'database' => 'sign',
// 'hostname' => 'rm-m5eblhc9o3515i25neo.mysql.rds.aliyuncs.com',
// 'username' => 'db136s1ehvo1yn73',
// 'password' => 'cxz307311SJK',
// 'prefix' => 'sign_',
// ]
];