remove recommend block cache when necessary

This commit is contained in:
xiaomlove
2022-04-18 22:45:44 +08:00
parent 4b6850dba4
commit 204132746a
3 changed files with 12 additions and 2 deletions

View File

@@ -783,6 +783,7 @@ class TrackerRepository extends BaseRepository
if ($peer->exists) {
$update['prev_action'] = $peer->last_action;
$update['started'] = $peer->started;
if ($queries['event'] == 'completed') {
$update['finishedat'] = time();
}