Changes between Version 1 and Version 2 of Ticket #1440, comment 8


Ignore:
Timestamp:
2015-04-10T17:09:34Z (9 years ago)
Author:
daira
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1440, comment 8

    v1 v2  
    22> We use an explicit dequeue implementation and we utilize a helping hash map to track currently queued files/dirs. Each time we add a file to the queue we first check if that file is already in the hashmap. We only add a file to the queue when it is not already in the hashmap. Likewise we must remove it from the hashmap once that queue item has been processed.
    33
    4 Yes, this is basically the same as the pending_delay code in [https://github.com/tahoe-lafs/tahoe-lafs/blob/9cd24713e1e51dbc0834148332ce03f43628b4b5/src/allmydata/windows/inotify.py allmydata/windows/inotify.py]. We should add something similar to ``drop_upload.py``, and then we can probably remove the Windows-specific implementation.
     4Yes, this is basically the same as the pending_delay code in [https://github.com/tahoe-lafs/tahoe-lafs/blob/9cd24713e1e51dbc0834148332ce03f43628b4b5/src/allmydata/windows/inotify.py allmydata/windows/inotify.py]. We should add something similar to `drop_upload.py`, and then we can probably remove the Windows-specific implementation.