2
compy.go
2
compy.go
@ -69,7 +69,7 @@ func main() {
|
|||||||
c := make(chan os.Signal, 2)
|
c := make(chan os.Signal, 2)
|
||||||
signal.Notify(c, os.Interrupt)
|
signal.Notify(c, os.Interrupt)
|
||||||
go func() {
|
go func() {
|
||||||
for _ = range c {
|
for range c {
|
||||||
read := atomic.LoadUint64(&p.ReadCount)
|
read := atomic.LoadUint64(&p.ReadCount)
|
||||||
written := atomic.LoadUint64(&p.WriteCount)
|
written := atomic.LoadUint64(&p.WriteCount)
|
||||||
log.Printf("compy exiting, total transcoded: %d -> %d (%3.1f%%)",
|
log.Printf("compy exiting, total transcoded: %d -> %d (%3.1f%%)",
|
||||||
|
Reference in New Issue
Block a user