sdnotify: Get rid of go:linkname for nanotime #1290
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1290
Loading…
Reference in a new issue
No description provided.
Delete branch "elebedeva/frostfs-node:fix/go-linkname-nanotime"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close #1262
Replace
runtime.nanotime() + go:linkname
withtime.Now() + time.Since()
.Signed-off-by: Ekaterina Lebedeva ekaterina.lebedeva@yadro.com
@ -22,2 +24,4 @@
)
func init() {
start = time.Now()
var start = time.Now()
will suffice, no need forinit()
.fixed
81b6f98b71
to499485c5ae