mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +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…
Add table
Add a link
Reference in a new issue