mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
This makes the external library watcher wait for files in watched directories to finish being written before queuing jobs for each file.
This commit is contained in:
parent
3f1e11afcc
commit
1af10ded74
1 changed files with 4 additions and 0 deletions
|
|
@ -123,6 +123,10 @@ export class LibraryService extends BaseService {
|
||||||
{
|
{
|
||||||
usePolling: false,
|
usePolling: false,
|
||||||
ignoreInitial: true,
|
ignoreInitial: true,
|
||||||
|
awaitWriteFinish: {
|
||||||
|
stabilityThreshold: 5000,
|
||||||
|
pollInterval: 1000,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
onReady: () => _resolve(),
|
onReady: () => _resolve(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue