29 lines
488 B
PHP
29 lines
488 B
PHP
<?php
|
|
|
|
$options = [
|
|
'workers' => 4,
|
|
'numeric-only' => false,
|
|
'repeat' => 4,
|
|
'logFile' => '',
|
|
'detailInfo' => false,
|
|
'staticSecond' => 5,
|
|
'redis' =>
|
|
[
|
|
'ip' => '127.0.0.1',
|
|
'port' => 6379,
|
|
'password' => 'YOURPASSWARD',
|
|
],
|
|
'db' =>
|
|
[
|
|
'type' => 'mysql',
|
|
'host' => '',
|
|
'database' => '',
|
|
'username' => '',
|
|
'password' => '',
|
|
'charset' => 'utf8mb4',
|
|
'collation' => 'utf8mb4_general_ci',
|
|
'port' => 3306,
|
|
],
|
|
'apikey' => '',
|
|
];
|