Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
* `perl`).
*/
ignoreShebang: boolean
}
type Omit = Pick>
/**
* Default values for `ExifToolOptions`, except for `processFactory` (which is
* created by the ExifTool constructor)
*/
export const DefaultExifToolOptions: Omit<
ExifToolOptions,
"processFactory" | "ignoreShebang"
> = Object.freeze({
...new bc.BatchClusterOptions(),
maxProcs: DefaultMaxProcs,
maxTasksPerProcess: 500,
spawnTimeoutMillis: 30000,
taskTimeoutMillis: 20000, // see https://github.com/mceachen/exiftool-vendored.js/issues/34
onIdleIntervalMillis: 2000,
streamFlushMillis: 7, // just a little luck. 1 ms seems to work on linux, fwiw.
taskRetries: 1,
exiftoolPath: DefaultExifToolPath,
exiftoolArgs: DefaultExiftoolArgs,
exiftoolEnv: {},
pass: "{ready}",
fail: "{ready}",
exitCommand: "-stay_open\nFalse\n",
versionCommand: new VersionTask().command,
numericTags: ["*Duration*", "GPS*", "Orientation"]
})