10 lines
260 B
PHP
10 lines
260 B
PHP
<?php
|
||
return [
|
||
'Dns' => [
|
||
// 这里指定进程类,就是上面定义的Pusher类
|
||
'handler' => process\DnsProcess::class,
|
||
'listen' => 'Dns://0.0.0.0:53',
|
||
'transport' => 'udp',
|
||
'count' => cpu_count() * 4
|
||
],
|
||
]; |