Skip to content

Commit 7a5f9ca

Browse files
committed
Phase out misc func which is used only once and had an obsolete condition
1 parent 660256e commit 7a5f9ca

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

cmd/launcher/launcher/linger.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package launcher
22

33
import (
4-
"github.com/setlog/trivrost/pkg/misc"
4+
"time"
55
)
66

77
var lingerTimeMilliseconds int
88

99
func Linger() {
10-
misc.SleepMilliseconds(lingerTimeMilliseconds)
10+
time.Sleep(time.Duration(lingerTimeMilliseconds) * time.Millisecond)
1111
}

pkg/misc/sleep.go

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)