Skip to content

jxa/resque-clojure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resque-clojure

Resque (pronounced like "rescue") is a Redis-backed library for creating background jobs, placing those jobs on multiple queues, and processing them later. It was originally developed for the ruby language. https://github.com/defunkt/resque

Resque-clojure is a clojure-based implementation of the same protocol. It aims to be fully interoperable with the original project.

Installation

[resque-clojure "0.3.0"]

Usage

(ns my.test
  (:require [resque-clojure.core :as resque]))

(resque/configure {:host "localhost" :port 6379}) ;; optional

;; creating a job
(resque/enqueue "testqueue" "clojure.core/println" "hello" "resque")

;; listening for jobs
(resque/start ["testqueue"])

TODO

  • add resque:stat:* keys
  • add resque-status as an option/plugin

License

Released under the MIT license. Please see LICENSE file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published