mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Translations for config.php, raised scrape interval (#1100)
This commit is contained in:
parent
6ae8dc8d5e
commit
7e4a76dc02
5 changed files with 104 additions and 98 deletions
|
@ -58,6 +58,12 @@ if (!empty($info_hash_count)) {
|
|||
}
|
||||
|
||||
$info_hashes_sql = implode('\', \'', $info_hashes);
|
||||
|
||||
/**
|
||||
* Currently torrent clients send truncated v2 hashes (the design raises questions).
|
||||
* https://github.com/bittorrent/bittorrent.org/issues/145#issuecomment-1720040343
|
||||
*/
|
||||
|
||||
$info_hash_where = "tor.info_hash IN ('$info_hashes_sql') OR SUBSTRING(tor.info_hash_v2, 1, 20) IN ('$info_hashes_sql')";
|
||||
|
||||
$sql = "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue