mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 17:25:35 +03: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:
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user