1 parent
594889ea10
commit
68166ad7eb
6 files changed
+32
-4
No files matched your search
@@ -33,6 +33,14 @@ const details = () => ({
|
||||
inputUI: { type: 'dropdown', options: ['auto', 'native', 'stream'] },
|
||||
tooltip: 'Auto uses the operating system copy API; stream is a fallback for problematic mounts.',
|
||||
},
|
||||
{
|
||||
label: 'Stream buffer size (MB)',
|
||||
name: 'bufferSizeMb',
|
||||
type: 'string',
|
||||
defaultValue: '16',
|
||||
inputUI: { type: 'dropdown', options: ['4', '16', '64'] },
|
||||
tooltip: 'Used only with stream copy; larger values can improve high-latency SMB mounts.',
|
||||
},
|
||||
],
|
||||
outputs: [{ number: 1, tooltip: 'File is ready in workDir — continue to next plugin' }],
|
||||
});
|
||||
@@ -66,6 +74,7 @@ const plugin = async (args) => {
|
||||
updateProgress: args.updateProgress,
|
||||
label: 'copyToWorkDir',
|
||||
copyMethod: args.inputs.copyMethod || 'auto',
|
||||
bufferSizeMb: args.inputs.bufferSizeMb || '16',
|
||||
});
|
||||
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user