Project

General

Profile

Actions

Bug #344

closed

possible race condition when checking for new files

Added by Marc Dequènes over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
Background tasks
Start date:
2014-08-19
Due date:
% Done:

0%

Estimated time:
Patch Available:
Confirmed:
Yes
Help Needed:

Description

testing for IN_CREATE in lib/autogeneration.py was probably made to handle symlinks (as kb told me), nevertheless it would also catch other files and the delay before really generating things may not be sufficient in cas of a long download over a not so fast connection.

When the event was generated by IN_CREATE the program should probably check which kind of files was created and only handle symlinks (and dirs?), but not normal files.

Actions

Also available in: Atom PDF