diff --git a/distro/linux/relic-einhorn b/distro/linux/relic-einhorn index b729ce9..46a1599 100755 --- a/distro/linux/relic-einhorn +++ b/distro/linux/relic-einhorn @@ -29,7 +29,6 @@ case "$1" in -d $sock \ -e /run/relic/einhorn.pid \ -f /run/relic/einhorn.lock \ - -n $(nproc) \ -m manual \ -q \ -b 0.0.0.0:6300,r \ diff --git a/server/view_health.go b/server/view_health.go index b61dd4f..1916301 100644 --- a/server/view_health.go +++ b/server/view_health.go @@ -49,7 +49,7 @@ func (s *Server) healthCheckLoop() { select { case <-t.C: s.healthCheck() - t.Reset(time.Second * time.Duration(interval)) + t.Reset(interval) case <-s.Closed: break }