forked from TrueCloudLab/frostfs-node
Ekaterina Lebedeva
5da41f1fe5
This reverts commit 327d364f34
.
Reverted due to the problem with reload signal sent by systemd.
`frostfs-ir` service reconfigures correctly and service's
statuses are being reported to systemd. However, since we
replaced `go:linkname` & `nanotime()` with `time.Since()`,
systemd refuses to accept reload signal response from
`frostfs-ir`. To maintain correct behaviour it was decided to
revevrt systemd-related changes until a better solution is
found.
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
10 lines
147 B
Go
10 lines
147 B
Go
package sdnotify
|
|
|
|
import (
|
|
// For go:linkname to work.
|
|
_ "unsafe"
|
|
)
|
|
|
|
//go:noescape
|
|
//go:linkname nanotime runtime.nanotime
|
|
func nanotime() int64
|