Skip to content

Commit

Permalink
Release 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan Colgate committed Feb 24, 2015
1 parent 43f64cf commit 2346b5c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
godinstall (0.7.0) precise; urgency=low

* Cconfiguration files are stored in the repositoryu
* Additional API end points for configuration

-- tristan <[email protected]> Tue, 24 Feb 2015 16:37:40 +0000

godinstall (0.6.3) precise; urgency=low

* Add log rotation support
Expand Down
5 changes: 0 additions & 5 deletions governor.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"errors"
"log"
"sync"
)

Expand Down Expand Up @@ -35,7 +34,6 @@ func NewGovernor(max int) *Governor {

// ReadLock takes a read lock on this governor
func (g *Governor) ReadLock() {
log.Println("read loccked")
// debug.PrintStack()
if g.Max != 0 {
_ = <-g.reqs
Expand All @@ -45,7 +43,6 @@ func (g *Governor) ReadLock() {

// ReadUnLock releases a read lock
func (g *Governor) ReadUnLock() {
log.Println("read unloccked")
// debug.PrintStack()
g.rwLock.RUnlock()
if g.Max != 0 {
Expand All @@ -56,7 +53,6 @@ func (g *Governor) ReadUnLock() {
// WriteLock takes a write lock. THis shoudl block until all readers
// are complete
func (g *Governor) WriteLock() {
log.Println("write loccked")
// debug.PrintStack()

if g.Max != 0 {
Expand All @@ -69,7 +65,6 @@ func (g *Governor) WriteLock() {

// WriteUnLock releases the write lock
func (g *Governor) WriteUnLock() (err error) {
log.Println("write unloccked")
// debug.PrintStack()
g.rwLock.Unlock()
if g.Max != 0 {
Expand Down

0 comments on commit 2346b5c

Please sign in to comment.