mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 18:28:54 +00:00
Remove unneeded PHP version checks. Change description on threaded scripts usage from python to php ones.
This commit is contained in:
@@ -21,7 +21,7 @@ if (isset($argv[2]) && $argv[2] === 'true') {
|
||||
}
|
||||
}
|
||||
if ($site->tablepergroup === 1) {
|
||||
exit($pdo->log->error("You are using 'tablepergroup', you must use releases_threaded.py"));
|
||||
exit($pdo->log->error("You are using 'tablepergroup', you must use .../misc/update_scripts/nix_scripts/multiprocessing/releases.php"));
|
||||
}
|
||||
|
||||
$groupName = isset($argv[3]) ? $argv[3] : '';
|
||||
|
||||
@@ -350,7 +350,7 @@ Class ProcessAdditional
|
||||
);
|
||||
}
|
||||
|
||||
$this->_showCLIReleaseID = (version_compare(PHP_VERSION, '5.5.0', '>=') ? (PHP_BINARY . ' ' . __DIR__ . DS . 'ProcessAdditional.php ReleaseID: ') : false);
|
||||
$this->_showCLIReleaseID = (PHP_BINARY . ' ' . __DIR__ . DS . 'ProcessAdditional.php ReleaseID: ');
|
||||
|
||||
// Maximum amount of releases to fetch per run.
|
||||
$this->_queryLimit =
|
||||
|
||||
@@ -67,10 +67,6 @@
|
||||
* @see
|
||||
*/
|
||||
|
||||
// Warn about PHP bugs
|
||||
if (version_compare(PHP_VERSION, '5.2.11') === 0) {
|
||||
trigger_error('PHP bug #16657 breaks feof() on socket streams! Connection consistency might be compromised!', E_USER_WARNING);
|
||||
}
|
||||
|
||||
require_once 'PEAR.php';
|
||||
require_once 'Responsecode.php';
|
||||
|
||||
@@ -471,7 +471,7 @@ class Groups
|
||||
|
||||
if ($tpgSetting === true) {
|
||||
if ($groupID == '') {
|
||||
exit('Error: You must use releases_threaded.py since you have enabled TPG!');
|
||||
exit('Error: You must use .../misc/update_scripts/nix_scripts/multiprocessing/releases.php since you have enabled TPG!');
|
||||
}
|
||||
|
||||
if ($this->createNewTPGTables($groupID) === false && NN_ECHOCLI) {
|
||||
|
||||
@@ -1043,7 +1043,7 @@
|
||||
{html_radios id="tablepergroup" name='tablepergroup' values=$yesno_ids output=$yesno_names selected=$fsite->tablepergroup separator='<br />'}
|
||||
<div class="hint">This uses separate tables for binaries and parts for each group.<br/>This
|
||||
requires you to run convert_to_tpg.php or reset_truncate.php.<br/>This requires that you also run
|
||||
releases_threaded.py.
|
||||
.../misc/update/nix/multiprocessing/releases.php (tmux does this automatically).
|
||||
<br/>Run: show variables like '%open%files%'; results should be higher than 10k, twice that if you
|
||||
are using TokuDB.;
|
||||
<br/><b>You may need to increase table_open_cache, open_files_limit and max_allowed_packet in
|
||||
|
||||
Reference in New Issue
Block a user