Closed MyAlien closed 5 years ago
afaik they automatically flush every announce
This is a invalid issue. There is already a scheduled command that runs every hour. Announce interval is every 45 min. In order for a peer to be considered it must have a last_announce timestamp of 2 hours or greater aka two announce intervals.
https://github.com/HDInnovations/UNIT3D/blob/master/app/Console/Commands/FlushPeers.php
Hello,
I do not understand why I have to click on it.
Switch false to true ? ( https://github.com/HDInnovations/UNIT3D/blob/master/app/Console/Commands/FlushPeers.php )
History::where("info_hash", $data->hash)->where("user_id", $data->user_id)->update(['active' => false]); $data->delete();
Thx
You don't have to click it. The flush peers option in staff dashboard is completely different function and only there if you want/need to force it....The command I posted above runs on a schedule automatically.
Issue Type
End User Info
-- UNIT3D Version: 1.8.6
-- Laravel Version: 5.6.37
-- PHP Version: 7.2.10
-- Database Driver & Version: 5.7.24
-- OS Driver and Version: 18.04.1
If I do not click on Flush Ghost Peers the Seed and Leench accumulates. Use cron ?
Thank you.