Changeset 163 for trunk

Show
Ignore:
Timestamp:
12/22/08 15:26:55 (16 years ago)
Author:
broder
Message:

Shorten the negative cache to 0.5 seconds - enough time for ln -nsf,
but not enough for a human to type two separate commands

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/source/pyhesiodfs/pyHesiodFS.py

    r162 r163  
    117117        self.mounts = defaultdict(dict) 
    118118         
    119         # Cache deletions for 10 seconds - should give people time to 
    120         # make a new symlink 
    121         self.negcache = negcache(10
     119        # Cache deletions for half a second - should give `ln -nsf` 
     120        # enough time to make a new symlink 
     121        self.negcache = negcache(0.5
    122122     
    123123    def _user(self):