Skip to content
Snippets Groups Projects
Commit 6e88a678 authored by Josh Brooks's avatar Josh Brooks
Browse files

Add more debugs

parent 1a7f0aa0
Branches
Tags
2 merge requests!510Release,!398Add debug log for file transfer not quitting
......@@ -63,6 +63,7 @@ func (m *manager) startSendingWorkerPool(multiStop *stoppable.Multi) {
for i := 0; i < workerPoolThreads; i++ {
stop := stoppable.NewSingle(sendThreadStoppableName + strconv.Itoa(i))
go m.sendingThread(stop)
jww.INFO.Printf("Adding stoppable %s", stop.Name())
multiStop.Add(stop)
}
......
......@@ -121,8 +121,8 @@ func (m *Multi) Close() error {
m.once.Do(func() {
var wg sync.WaitGroup
jww.TRACE.Printf("Sending on quit channel to multi stoppable %q.",
m.Name())
jww.INFO.Printf("Sending on quit channel to multi stoppable %q with processes: %v.",
m.Name(), m.GetRunningProcesses())
m.mux.Lock()
// Attempt to stop each stoppable in its own goroutine
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment