Skip to content

Commit

Permalink
disable checkDispatcher for now, since its checking the wrong things:
Browse files Browse the repository at this point in the history
the patterns by the rules of the addresses instead of the patterns
by the rules of the patterns.
  • Loading branch information
metakeule committed Oct 12, 2018
1 parent c682aec commit 61625ed
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions osc.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,11 @@ type readSender interface {
}

func serve(r readSender, numWorkers int, exactMatch bool, dispatcher Dispatcher) error {
if err := checkDispatcher(dispatcher); err != nil {
return err
}
/*
if err := checkDispatcher(dispatcher); err != nil {
return err
}
*/
var (
errChan = make(chan error)
ready = make(chan Worker, numWorkers)
Expand Down

0 comments on commit 61625ed

Please sign in to comment.