Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Aug 23, 2013

  1. Isaac Z. Schlueter

    v0.4.2

    authored
  2. jsstorm

    stale option fix for windows file tunneling

    Fixes #3
    Fixes #2
    
    Related: joyent/libuv#901
    jsstorm authored committed

Aug 21, 2013

  1. Isaac Z. Schlueter

    v0.4.1

    authored
  2. Isaac Z. Schlueter

    Fix version parsing

    Lol-worthy bug via @defunctzombie
    authored

Jul 11, 2013

  1. Isaac Z. Schlueter

    v0.4.0

    authored
  2. Isaac Z. Schlueter

    Don't keep lockfiles open

    So obvious in retrospect.
    authored

Jun 07, 2013

  1. Isaac Z. Schlueter

    v0.3.4

    authored
  2. Isaac Z. Schlueter

    retry more aggressively

    authored
  3. Isaac Z. Schlueter

    v0.3.3

    authored
  4. Isaac Z. Schlueter

    Add debugging function

    Set NODE_DEBUG=lockfile to use
    authored

May 11, 2013

  1. Isaac Z. Schlueter

    v0.3.2

    authored
  2. Isaac Z. Schlueter

    remove console.error

    authored

Apr 27, 2013

  1. Isaac Z. Schlueter

    v0.3.1

    authored
  2. Isaac Z. Schlueter

    Support lack of subsecond fs precision

    Many filesystems lack subsecond precision in their stat
    results, and Node didn't expose this until 0.11 anyway.
    
    If the ctime is divisible by 1000, assume that we don't
    have support for subsecond precision times, and round the
    staleness option up to the nearest second.
    authored
  3. Isaac Z. Schlueter

    Fix error closure overwriting in notStale

    This caused a problem where the use of both wait and stale options
    together could cause it to think that a lock was stale, when in fact
    it was not stale.
    authored

Feb 06, 2013

  1. Isaac Z. Schlueter

    v0.3.0

    authored
  2. Isaac Z. Schlueter

    Use polling instead of watchers

    It's too flaky otherwise, and occasionally the events come in the
    wrong order.
    
    Rather than use a watcher, just keep trying until the time runs out.
    
    It's not as elegant, but it also doesn't deadlock on Linux machines.
    authored

Jan 29, 2013

  1. Isaac Z. Schlueter

    Add more overhead buffer to contention test

    authored

Jan 25, 2013

  1. Isaac Z. Schlueter

    v0.2.2

    authored
  2. Isaac Z. Schlueter

    Fix wait calculation

    Retrying only once is incorrect if we're set to wait for a given number
    of ms, since there might be any arbitrary number of contenders.
    
    Also, it was doing 'now - start' as the new wait time, which is incorrect.
    Instead, calculate the proper end time, and continue retrying until that
    time is reached, updating the wait time to be 'end - now' at each iteration.
    authored
  3. Isaac Z. Schlueter

    fixup

    authored
  4. Isaac Z. Schlueter

    Style: prefer early return to giant if/else

    authored
  5. Isaac Z. Schlueter

    unlock: Close before unlinking

    the unlink() triggers watches to try to acquire a lock,
    but the fd might not be closed yet, leading to a race condition where
    the new lock gets fs.close'd instead of the old one.
    authored
  6. Isaac Z. Schlueter

    Don't get tripped up by locks named 'hasOwnProperty'

    authored
  7. Isaac Z. Schlueter

    test: Pathological extreme lock contention

    authored

Jul 24, 2012

  1. Isaac Z. Schlueter

    refactor license

    authored

Jun 27, 2012

  1. Isaac Z. Schlueter

    0.2.1

    authored
  2. Isaac Z. Schlueter

    Handle race conditions more thoroughly

    This stuff is hard to get into a standalone test, but
    I'm hammering on it by trying to install express in 15
    different folders in parallel.
    authored
  3. Isaac Z. Schlueter

    0.2.0

    authored
  4. Isaac Z. Schlueter

    Rename to 'lockfile'

    authored
  5. Isaac Z. Schlueter

    0.0.2

    authored
  6. Isaac Z. Schlueter

    Add retries

    authored
  7. Isaac Z. Schlueter

    bsd

    authored
  8. Isaac Z. Schlueter

    0.0.1

    authored
  9. Isaac Z. Schlueter

    tests

    authored
Something went wrong with that request. Please try again.