Skip to content

michaelbrooks/rq-win

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows RQ Worker

Provides a WindowsWorker class that allows you to use Redis Queue (RQ) on Windows systems. This is for development/testing purposes only.

Since Windows does not support fork(), we execute all work in the main worker thread instead of forking off a separate worker process. As a result, workers may not be as stable and crash resistant.

Further, since Windows does not support SIGALRM, WindowsWorkers do not provide any of the work timeout controls that normal workers provide.

Installation and Use

You can install this package directly from GitHub with pip:

$ pip install git+https://github.com/michaelbrooks/rq-win.git#egg=rq-win

To start an RQ worker using the WindowsWorker class:

$ rqworker -w rq_win.WindowsWorker

Contributions and improvements are welcome!

Requirements


  • Version rq > 1.2.0

About

RQ Worker class that works for development on Windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages