From 4489ca7676d0cbbd063fe3635e538abfbbf0ee30 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 18 Mar 2016 11:36:18 +0100 Subject: [PATCH] Add match_prefiles to tmux. --- Changelog | 2 ++ newznab/TmuxRun.php | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Changelog b/Changelog index cfb1b944c..ee1ff001d 100755 --- a/Changelog +++ b/Changelog @@ -1,3 +1,5 @@ +2016-03-18 DariusIII + * Chg: Add match_prefiles to tmux. 2016-03-17 DariusIII * Chg: Replace 2 occurences of array_push with $array[] in NZB.php to reduce overhead. * Upd: Change semantics for failed download handling in themes. diff --git a/newznab/TmuxRun.php b/newznab/TmuxRun.php index b1fdaf67e..730d87897 100644 --- a/newznab/TmuxRun.php +++ b/newznab/TmuxRun.php @@ -141,6 +141,7 @@ class TmuxRun extends Tmux $log = $this->writelog($runVar['panes']['one'][3]); shell_exec("tmux respawnp -t{$runVar['constants']['tmux_session']}:1.3 ' \ {$runVar['commands']['_php']} {$runVar['paths']['misc']}update/decrypt_hashes.php 1000 $log; \ + {$runVar['commands']['_php']} {$runVar['paths']['misc']}update/match_prefiles.php 10240 show $log; \ date +\"{$this->_dateFormat}\"; {$runVar['commands']['_sleep']} {$runVar['settings']['dehash_timer']}' 2>&1 1> /dev/null" ); break; @@ -148,6 +149,7 @@ class TmuxRun extends Tmux $log = $this->writelog($runVar['panes']['one'][3]); shell_exec("tmux respawnp -t{$runVar['constants']['tmux_session']}:1.3 ' \ {$runVar['commands']['_php']} {$runVar['paths']['misc']}update/nix/tmux/bin/postprocess_pre.php {$runVar['constants']['pre_lim']} $log; \ + {$runVar['commands']['_php']} {$runVar['paths']['misc']}update/match_prefiles.php 10240 show $log; \ date +\"{$this->_dateFormat}\"; {$runVar['commands']['_sleep']} {$runVar['settings']['dehash_timer']}' 2>&1 1> /dev/null" ); break; @@ -156,6 +158,7 @@ class TmuxRun extends Tmux shell_exec("tmux respawnp -t{$runVar['constants']['tmux_session']}:1.3 ' \ {$runVar['commands']['_php']} {$runVar['paths']['misc']}update/nix/tmux/bin/postprocess_pre.php {$runVar['constants']['pre_lim']} $log; \ {$runVar['commands']['_php']} {$runVar['paths']['misc']}update/decrypt_hashes.php 1000 $log; \ + {$runVar['commands']['_php']} {$runVar['paths']['misc']}update/match_prefiles.php 10240 show $log; \ date +\"{$this->_dateFormat}\"; {$runVar['commands']['_sleep']} {$runVar['settings']['dehash_timer']}' 2>&1 1> /dev/null" ); break;