Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Commit

Permalink
fix(Cron): Fix components lost in CronTabProcess
Browse files Browse the repository at this point in the history
Which may cause swoole process fail then restart over and over,
See more log on <https://pastebin.com/haFvD2Pn>
  • Loading branch information
Rhilip committed Nov 13, 2019
1 parent 660c1f1 commit 1ced4bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
- **Torrent:** Per-add torrent edit (f06b342)
- **i18n:** Use symfony/translation and JSON format for locale (02cc251)

### Refactor
- **Entity:** Move Class Torrent,User to namespace App\Entity (7814d88)


<a name="v0.1.6-alpha"></a>
## [v0.1.6-alpha] - 2019-09-20
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<img src="https://github.com/Rhilip/RidPT/raw/master/public/static/pic/logo.png" width='256px'><br/>
Another Private Torrent framework Project. <b>On Development</b><br/>
Another Private Torrent framework Project. <b>On Heavily Development now !!!</b><br/>
</p>

[![GitHub Releases](https://img.shields.io/github/release/Rhilip/RidPT.svg)](https://github.com/Rhilip/RidPT/releases)
Expand Down
2 changes: 1 addition & 1 deletion config/httpServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
'crontab' => [
'class' => App\Process\CronTabProcess::class,
'title' => 'Crontab Worker',
'components' => ['log', 'pdo', 'redis', 'config'],
'components' => ['log', 'pdo', 'redis', 'config', 'site', 'i18n'],
'sleep' => 60,
]
],
Expand Down

0 comments on commit 1ced4bf

Please sign in to comment.