Skip to content

Revert "Use int64 for collecting command stats"

James Fargher requested to merge cast_rusage into master

This reverts commit 0d6dba88.

Fixes omnibus-gitlab#7321 (closed)

It turns out we publish official raspberry pi 32bit packages. So gitaly needs to build in 32bit mode too.

The problem here is that rusage is defined int64 or int32 depending on architecture https://github.com/golang/go/blob/go1.18/src/syscall/ztypes_linux_arm.go#L72-L89 so to support both it needs to be cast.

Edited by James Fargher

Merge request reports