mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
use all $this->processors
This commit is contained in:
@@ -138,7 +138,7 @@ class Restore extends Action
|
||||
'xbstream -x < ' . $file,
|
||||
'--decompress',
|
||||
'--decompress-threads=' . $this->processors,
|
||||
'--parallel=' . intval($this->processors / 2),
|
||||
'--parallel=' . $this->processors,
|
||||
'-C ' . $target,
|
||||
];
|
||||
|
||||
@@ -166,7 +166,7 @@ class Restore extends Action
|
||||
$args = [
|
||||
'xtrabackup',
|
||||
'--prepare',
|
||||
'--parallel=' . intval($this->processors / 2),
|
||||
'--parallel=' . $this->processors,
|
||||
'--strict',
|
||||
'--target-dir=' . $target,
|
||||
'2> ' . $logfile,
|
||||
@@ -198,7 +198,7 @@ class Restore extends Action
|
||||
'xtrabackup',
|
||||
'--move-back',
|
||||
'--strict',
|
||||
'--parallel=' . intval($this->processors / 2),
|
||||
'--parallel=' . $this->processors,
|
||||
'--target-dir=' . $target,
|
||||
'--datadir=' . $datadir,
|
||||
'2> ' . $logfile,
|
||||
|
||||
Reference in New Issue
Block a user