remove info_hash not exsts cache when upload

This commit is contained in:
xiaomlove
2023-08-18 02:39:07 +08:00
parent 8dc9cb8f02
commit 21c4ca0bef
2 changed files with 4 additions and 1 deletions

View File

@@ -403,6 +403,9 @@ if ($saveResult === false) {
sql_query("delete from torrents where id = $id limit 1");
bark("save torrent to $torrentFilePath fail.");
}
//remove announce info_hash not exists cache
//@see announce.php
\Nexus\Database\NexusDB::cache_del("torrent_not_exists:$infohash");
/**
* add custom fields