mirror of
https://github.com/zrepl/zrepl.git
synced 2025-06-27 05:01:33 +02:00
fixup 308e5e35fb05ef4652f92009e200f8bac7b55eb3: remove fprintf debug output
This commit is contained in:
parent
c21222ef13
commit
9eca269ad8
@ -11,8 +11,6 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"fmt"
|
|
||||||
"os"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type StdinserverListenerFactory struct {
|
type StdinserverListenerFactory struct {
|
||||||
@ -87,9 +85,7 @@ func (m *MultiStdinserverListener) Accept(ctx context.Context) (AuthenticatedCon
|
|||||||
for i := range m.listeners {
|
for i := range m.listeners {
|
||||||
go func(i int) {
|
go func(i int) {
|
||||||
for atomic.LoadInt32(&m.closed) == 0 {
|
for atomic.LoadInt32(&m.closed) == 0 {
|
||||||
fmt.Fprintf(os.Stderr, "accepting\n")
|
|
||||||
conn, err := m.listeners[i].Accept(context.TODO())
|
conn, err := m.listeners[i].Accept(context.TODO())
|
||||||
fmt.Fprintf(os.Stderr, "incoming\n")
|
|
||||||
m.accepts <- multiStdinserverAcceptRes{conn, err}
|
m.accepts <- multiStdinserverAcceptRes{conn, err}
|
||||||
}
|
}
|
||||||
}(i)
|
}(i)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user