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

Commit

Permalink
refactor(Tracker): Better Tracker behaviour in multi tracker
Browse files Browse the repository at this point in the history
1. Add Cache Lock to prevent bittorrent client flood same requests uri,
   It will return empty peer_list when hit the lock.
2. Add Time Tag When Controller start.
3. Change order of client's ua check.
4. Add Cache pool of invalid_passkey, invalid_info_hash, valid_clients,
   valid_peers to quick check user params.
6. Change The SQL of get peer list from database.
7. Separate Redis Key Field to class \apps\libraries\Constant
8. replace quote to single if no Variable in string.
9. Add more tracker control keys.

BREAKING CHANGE: COLUMN `corrupt` in `users` TABLE changed
  • Loading branch information
Rhilip committed Jul 26, 2019
1 parent 2ed6f8a commit 1477ced
Show file tree
Hide file tree
Showing 6 changed files with 370 additions and 248 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@
- **Cookies:** Fix session sep from `%` to `_`
- **Database:** Fix table `links` miss
- **Env:** Exit when parse env file failed
- **Form:** Miss use flag since namespace change
- **Form:** Link\EditForm Update diff
- **Form:** Miss use flag since namespace change
- **Requests:** Fix fullUrl() may add unnecessary `?`
- **Tracker:** Fix TrackerException Logger
- **categories:** Remove key `sort_index`
- **redis_key:** Fix array value cause parser error

### Perf
- **Tracker:** Use brpoplpush to get announce data from redis
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ Or you can join our chat group on Telegram -- [@ridpt](https://t.me/ridpt)
| [flag-css](https://github.com/7kfpun/flag-css): CSS for SVG country flags respecting the original ratio. | <https://kfpun.com/flag-css/> |
| [zxcvbn](https://github.com/dropbox/zxcvbn): Low-Budget Password Strength Estimation | <https://lowe.github.io/tryzxcvbn/> |
| [bootstrap-validator](https://github.com/1000hz/bootstrap-validator): A user-friendly HTML5 form validation jQuery plugin for Bootstrap 3 | <http://1000hz.github.io/bootstrap-validator> |
| [jQuery.Textarea.Autoresize](https://github.com/AndrewDryga/jQuery.Textarea.Autoresize): Smart resizing for textareas using jQuery | <https://github.com/AndrewDryga/jQuery.Textarea.Autoresize> |
### Backend Library
Expand Down
Loading

0 comments on commit 1477ced

Please sign in to comment.