Adjust timing
This commit is contained in:
parent
1be401d519
commit
07ba7c6427
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -121,7 +121,7 @@ loop:
|
||||||
select{
|
select{
|
||||||
case t := <-ticker.C:
|
case t := <-ticker.C:
|
||||||
if volume.Volume < 0 {
|
if volume.Volume < 0 {
|
||||||
volume.Volume += 0.01
|
volume.Volume += 0.007
|
||||||
}
|
}
|
||||||
if t.Sub(launched) > 1 * time.Hour {
|
if t.Sub(launched) > 1 * time.Hour {
|
||||||
break loop
|
break loop
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue