Skip to content

RQ Worker class that works for development on Windows

License

Notifications You must be signed in to change notification settings

jiejiang/rq-win

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 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 -e 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!

About

RQ Worker class that works for development on Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%