Skip to content
Commits on Mar 22, 2011
  1. @kr
  2. @kr
Commits on Mar 21, 2011
  1. @kr

    rewrite binary heap code

    kr committed Mar 20, 2011
Commits on Mar 20, 2011
  1. @kr
  2. @kr

    refactor

    kr committed Mar 20, 2011
  3. @kr

    use more readable type names

    kr committed Mar 20, 2011
  4. @kr

    remove unnecessary code

    kr committed Mar 20, 2011
  5. @kr

    include networking headers

    kr committed Mar 20, 2011
  6. @kr

    don't use EV_PERSIST for conn socket

    kr committed Mar 19, 2011
  7. @kr

    refactor

    kr committed Mar 19, 2011
  8. @kr

    rename

    kr committed Mar 19, 2011
Commits on Mar 7, 2011
  1. @kr
Commits on Feb 26, 2011
  1. @kr

    tick at regular intervals

    kr committed Feb 26, 2011
  2. @kr

    clean up the build

    Now builds on only Linux and Mac OS X.
    kr committed Feb 25, 2011
Commits on Jan 23, 2011
  1. @blueness @kr
Commits on Sep 21, 2010
  1. @kr

    Support systemd socket activation.

    kr committed Sep 20, 2010
Commits on Jul 17, 2010
  1. @kr

    Require NEWS.md only for make dist.

    Closes gh-46.
    kr committed Jul 17, 2010
  2. @zhan @kr

    minor bug report

    Hi,
    
    I traced a minor bug. If I set a large time out value, e.g. 3000s, in
    "reserved-with-timeout" command, the queue will return back to the
    client immediately with "TIMED_OUT",  just the same effect as
    "reserved-with-timeout 0".
    
    I took some time to trace it. Seems like there is an overflow during
    type conversion.   Here is a simple patch which can fix it
    (pending_timeout is 'int', where overflow occurs after it multiplies
    against SECOND):
    zhan committed with kr Jun 29, 2010
Commits on Jun 24, 2010
  1. @kr
  2. @kr

    Properly update the binlog linked list pointers.

    Code in this file assumes that newest_binlog is always correct, so when
    there is no binlog at all, we must set newest_binlog to NULL.
    
    Closes gh-44.
    kr committed Jun 23, 2010
Commits on May 27, 2010
  1. @kr

    Make sure fd is always initialized.

    kr committed May 26, 2010
Commits on May 24, 2010
  1. @kr

    Unbreak the dist build.

    kr committed May 23, 2010
Commits on May 23, 2010
  1. @kr

    Discard job body bytes if the job is too big.

    Previously, a malicious user could craft a job payload and inject
    beanstalk commands without the client application knowing. (An
    extra-careful client library could check the size of the job body before
    sending the put command, but most libraries do not do this, nor should
    they have to.)
    
    Reported by Graham Barr.
    kr committed May 23, 2010
  2. @kr

    Refactor.

    kr committed May 23, 2010
  3. @kr

    Bitbucket mode can provide any reply.

    kr committed May 23, 2010
Commits on May 22, 2010
  1. @kr

    Require absolute path when `-b` is used with `-d`.

    Closes gh-40.
    kr committed May 22, 2010
  2. @kr

    Require a news (changelog) file for releases.

    It will be written by hand each time, and contain the "what's new"
    section from the release notes.
    kr committed May 22, 2010
Commits on May 10, 2010
  1. @kr

    Add a new invariant to reserved space.

    A DELETE record can be written at any time, including times when we are
    unable to shuffle reserved bytes around. So, to make sure that we don't
    lose any reserved bytes, the current binlog must always have reserved
    space for some number of complete DELETE records. This lets us fill up
    the current binlog exactly with no lost reserved bytes. The only time we
    are able to shuffle things around to maintain this property is when
    reserving bytes.
    
    We used to try to accomplish this by checking the reserved size of the
    current_binlog after each reservation, but that isn't sufficient. The
    next binlog can become current and run out of space without any
    reservations taking place. This would force us to lose bytes.
    
    Now we check that the current_binlog and *all future binlog* reservation
    sizes are suitable to become the current binlog and fill up exactly.
    
    Closes gh-38.
    kr committed May 10, 2010
  2. @kr
Commits on Mar 26, 2010
  1. @kr

    Remove redundant documentation.

    kr committed Mar 16, 2010
  2. @kr
  3. @kr

    Make this a touch more readable.

    kr committed Mar 11, 2010
  4. @noahwilliamsson
Commits on Mar 10, 2010
  1. @kr

    Document our dependency on GNU make.

    kr committed Mar 10, 2010
  2. @kr

    More portable shebang lines.

    This is needed in FreeBSD, for example.
    kr committed Mar 10, 2010
Something went wrong with that request. Please try again.