mirror of
https://git.phreedom.club/localhost_frssoft/compy.git
synced 2024-11-23 16:41:30 +00:00
commit
b23411caf2
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%%)",
|
||||||
|
|
Loading…
Reference in a new issue