remove du from caching, should run manually if interested in size, adds too much runtime to job to include by default
parent
0a65f6e2a8
commit
96d34f546d
|
|
@ -2624,7 +2624,6 @@ class Caching {
|
|||
yield fs_1.default.promises.rmdir(destinationFolder, { recursive: true });
|
||||
}
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`mv "${path_1.default.join(fullResultsFolder, path_1.default.basename(destinationFolder))}" "${destinationParentFolder}"`);
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`du -sh ${path_1.default.join(destinationParentFolder, path_1.default.basename(destinationFolder))}`);
|
||||
const contents = yield fs_1.default.promises.readdir(path_1.default.join(destinationParentFolder, path_1.default.basename(destinationFolder)));
|
||||
cloud_runner_logger_1.default.log(`There is ${contents.length} files/dir in the cache pulled contents for ${path_1.default.basename(destinationFolder)}`);
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -141,7 +141,6 @@ export class Caching {
|
|||
await CloudRunnerSystem.Run(
|
||||
`mv "${path.join(fullResultsFolder, path.basename(destinationFolder))}" "${destinationParentFolder}"`,
|
||||
);
|
||||
await CloudRunnerSystem.Run(`du -sh ${path.join(destinationParentFolder, path.basename(destinationFolder))}`);
|
||||
const contents = await fs.promises.readdir(
|
||||
path.join(destinationParentFolder, path.basename(destinationFolder)),
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue