[arvados] updated: 2.1.0-2857-g69158dc93
git repository hosting
git at public.arvados.org
Tue Aug 23 17:26:03 UTC 2022
Summary of changes:
services/keep-balance/block_state.go | 6 +++++-
services/keep-balance/block_state_test.go | 23 +++++++++++++++++++++++
services/keep-balance/collection.go | 2 +-
3 files changed, 29 insertions(+), 2 deletions(-)
via 69158dc93fdfec57279ba227f872f3a7c01c4e78 (commit)
via 1fc844ac42ae277722bf56a010b0358043203d2a (commit)
via 58266ff0dc0420cd99c4cb024476115a3dd9b5e7 (commit)
from 2ba137a3ccc524cd85db4f001a7ee966539b338e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 69158dc93fdfec57279ba227f872f3a7c01c4e78
Merge: 2ba137a3c 1fc844ac4
Author: Tom Clegg <tom at curii.com>
Date: Tue Aug 23 13:25:53 2022 -0400
Merge branch '19414-keep-balance-panic'
fixes #19414
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>
commit 1fc844ac42ae277722bf56a010b0358043203d2a
Author: Tom Clegg <tom at curii.com>
Date: Tue Aug 23 13:24:32 2022 -0400
19414: Fix missing parens.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>
diff --git a/services/keep-balance/collection.go b/services/keep-balance/collection.go
index ccb01bdd1..d7a3fd981 100644
--- a/services/keep-balance/collection.go
+++ b/services/keep-balance/collection.go
@@ -152,7 +152,7 @@ func (bal *Balancer) updateCollections(ctx context.Context, c *arvados.Client, c
// Use about 1 goroutine per 2 CPUs. Based on experiments with
// a 2-core host, using more concurrent database
// calls/transactions makes this process slower, not faster.
- for i := 0; i < runtime.NumCPU()+1/2; i++ {
+ for i := 0; i < (runtime.NumCPU()+1)/2; i++ {
wg.Add(1)
goSendErr(errs, func() error {
defer wg.Done()
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list