Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
Merge branch release-0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
albrow committed Dec 31, 2015
2 parents be37db4 + 7c00a18 commit a08aa21
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Jobs

A persistent and flexible background jobs library for go.

[![Version](https://img.shields.io/badge/version-0.4.1-5272B4.svg)](https://github.com/albrow/jobs/releases)
[![Circle CI](https://img.shields.io/circleci/project/albrow/jobs.svg)](https://circleci.com/gh/albrow/jobs)
[![GoDoc](https://godoc.org/github.com/albrow/jobs?status.svg)](https://godoc.org/github.com/albrow/jobs)

Version: 0.4.0

Jobs is powered by Redis and supports the following features:

- A job can encapsulate any arbitrary functionality. A job can do anything
Expand Down Expand Up @@ -194,7 +194,7 @@ func main() {
if err := pool.Wait(); err != nil {
// Handle err
}
}
}()
if err := pool.Start(); err != nil {
// Handle err
}
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// Package jobs is a persistent and flexible background jobs library.
//
// Version: 0.4.0
// Version: 0.4.1
//
// Jobs is powered by redis and supports the following features:
//
Expand Down
5 changes: 2 additions & 3 deletions test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ package jobs

import (
"fmt"
"github.com/garyburd/redigo/redis"
"reflect"
"sync"
"testing"
"time"

"github.com/garyburd/redigo/redis"
)

// setUpOnce enforces that certain pieces of the set up process only occur once,
Expand All @@ -24,8 +25,6 @@ func testingSetUp() {
// Use database 14 and a unix socket connection for testing
// TODO: allow this to be configured via command-line flags
Config.Db.Database = 14
Config.Db.Address = "/tmp/redis.sock"
Config.Db.Network = "unix"
})
// Clear out any old job types
Types = map[string]*Type{}
Expand Down

0 comments on commit a08aa21

Please sign in to comment.