Patched atomic calculation issue with 32 bits ARM architectures
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
Server was not working on my raspberry Pi. Appears the issue is related to the Go compiler (https://github.com/golang/go/issues/599). As read here https://github.com/census-instrumentation/opencensus-go/issues/587 , I switched these two lines in the counter struct and it now works.
This commit is contained in:
parent
b9ca357dfd
commit
2622e64213
|
@ -10,8 +10,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type counter struct {
|
type counter struct {
|
||||||
startTime time.Time
|
|
||||||
count uint64
|
count uint64
|
||||||
|
startTime time.Time
|
||||||
}
|
}
|
||||||
|
|
||||||
// Counter providers a threadsafe counter to use for storing long running counts
|
// Counter providers a threadsafe counter to use for storing long running counts
|
||||||
|
|
Loading…
Reference in New Issue