mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
Merge 63026a030f into 505e16c37c
This commit is contained in:
commit
27e147b4fc
1 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ import { serverInfo } from 'src/commands/server-info';
|
|||
import { version } from '../package.json';
|
||||
|
||||
const defaultConfigDirectory = path.join(os.homedir(), '.config/immich/');
|
||||
const defaultConcurrency = Math.max(1, os.cpus().length - 1);
|
||||
|
||||
const program = new Command()
|
||||
.name('immich')
|
||||
|
|
@ -66,7 +67,7 @@ program
|
|||
.addOption(
|
||||
new Option('-c, --concurrency <number>', 'Number of assets to upload at the same time')
|
||||
.env('IMMICH_UPLOAD_CONCURRENCY')
|
||||
.default(4),
|
||||
.default(defaultConcurrency),
|
||||
)
|
||||
.addOption(
|
||||
new Option('-j, --json-output', 'Output detailed information in json format')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue