Skip to content

Commit

Permalink
add destroy_controllers settings
Browse files Browse the repository at this point in the history
  • Loading branch information
hhxsv5 committed Jun 27, 2019
1 parent 06e7560 commit 8fa9d0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Settings-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,6 @@
//...
```

- `destroy_controllers`:`array` 每次请求后自动销毁控制器,解决单例控制器的问题,参考[示例](https://github.com/hhxsv5/laravel-s/blob/master/KnownIssues-CN.md#%E5%8D%95%E4%BE%8B%E6%8E%A7%E5%88%B6%E5%99%A8)。

- `swoole`:`array` Swoole的`原始`配置项,请参考[Swoole配置项](https://wiki.swoole.com/wiki/page/274.html)。
2 changes: 2 additions & 0 deletions Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,6 @@
//...
```

- `destroy_controllers`: `array` Automatically destroy the controllers after each request to solve the problem of the singleton controllers, refer [Demo](https://github.com/hhxsv5/laravel-s/blob/master/KnownIssues.md#singleton-controller).

- `swoole`: `array` Swoole's `original` configuration items, refer [Swoole Configuration](https://www.swoole.co.uk/docs/modules/swoole-server/configuration).

0 comments on commit 8fa9d0f

Please sign in to comment.