Skip to content

Commit

Permalink
Remove some debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
madcowfred committed May 7, 2014
1 parent a777331 commit 222175c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spawner.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func Spawner(filenames []string) {
// Make a channel to stuff Articles into
achan := make(chan *Article, server.Connections)


// Make a channel to stuff Totals into
tchan := make(chan *Totals, server.Connections)

Expand All @@ -68,7 +69,6 @@ func Spawner(filenames []string) {
mc := NewMmapCache()

for filenum, fd := range files {
log.Debug("fd: %+v", fd)
// Open and mmap the file
md, err := mc.MapFile(fd.path, len(Config.Server))
if err != nil {
Expand Down Expand Up @@ -158,7 +158,6 @@ func Spawner(filenames []string) {

// Begin consuming
for article := range achan {
log.Debug("[%s:%02d] Article: %p", name, connID, article)
err := conn.Post(article.Body, Config.Global.ChunkSize)
if err != nil {
log.Warning("[%s:%02d] Post error: %s", name, connID, err)
Expand Down

0 comments on commit 222175c

Please sign in to comment.