Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: henriklied/dreque
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: mlzboy/dreque
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 6 files changed
  • 1 contributor

Commits on Nov 30, 2009

  1. Added signal handlers to better deal with shutdowns. SIGTERM = forced…

    … shutdown, SIGQUIT = graceful shutdown (let worker finish current job)
    samuel committed Nov 30, 2009
    Configuration menu
    Copy the full SHA
    5e14191 View commit details
    Browse the repository at this point in the history
  2. Incremented version number

    samuel committed Nov 30, 2009
    Configuration menu
    Copy the full SHA
    7e63895 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2009

  1. Added optional _delay and _max_retries arguments to enqueue. Not sure…

    … I like how the argument are done, but it works for now.
    
    _delay can be either a relative delta from now (e.g. 10 == 10 seconds from now) or an absolute timestamp.
    _max_retries is how many times the job is retried (with an ever increasing delay) until the job is deleted as failed
    
    For the non-forked dispatching copy.deepcopy is now used to avoid accidently modifying the arguments.
    samuel committed Dec 30, 2009
    Configuration menu
    Copy the full SHA
    9074a3d View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2010

  1. Added a subclasses JSONEncoder/decoder to handle datetime objects, an…

    …d changed to compressed json as it drastically cuts down on storage. Since Redis is all in memory it's even more important.
    
    Unfortunately, redis-py tries to decode everything by default which means
    you can't store binary. I added a patch to it to allow a subclass to override
    the encoder/decoder (http://github.com/samuel/redis-py). You now you'll
    need to use that version until the official release has similar support.
    samuel committed Jan 4, 2010
    Configuration menu
    Copy the full SHA
    904e15f View commit details
    Browse the repository at this point in the history
  2. Dreque now takes an optional argument "serializer" that can be any ob…

    …ject that has methods dumps and loads.
    samuel committed Jan 4, 2010
    Configuration menu
    Copy the full SHA
    76ac389 View commit details
    Browse the repository at this point in the history
  3. Fall back to plain json (uncompressed) if the version of redis-py tha…

    …t's found doesn't support binary values.
    samuel committed Jan 4, 2010
    Configuration menu
    Copy the full SHA
    6f6b3cc View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2010

  1. Configuration menu
    Copy the full SHA
    d7e40f8 View commit details
    Browse the repository at this point in the history
Loading