Seth Bunce
Seth Bunce
The following code demonstrates this problem. package main import ( "github.com/mikejs/gomongo/mongo" "fmt" "os" ) func main() { conn, _ := mongo.Connect("127.0.0.1") collection := conn.GetDB("test").GetCollection("test_collection") doc, _ := mongo.Marshal(map[string]string{ "_id": "doc1",...
Background ========= Architectures using FMA optimization yield slightly different results so we cannot assume floating point values will be precisely the same across different architectures. https://github.com/prometheus/client_golang/pull/899#issuecomment-1244506390 Change ====== The solution...
This package was updating counters concurrently because of incorrect locking. There's not really a reason to have two separate locks or try to optimize with RW locks. This change replaces...
Showed up in our internal application. Counter is being incremented concurrently by multiple goroutines because it's not protected by a lock. I'll see if I can come up with a...
web.go line 78 The cookie age parameter is ignored. The cookie expiration is hard-coded for 30 minutes. I think the SetCookie function should be replaced with this: //Sets a cookie...
I work for [Cruise](https://getcruise.com). I was talking to our Google Account Manager JP Guerra a while back about this issue and he thought it'd be useful to share our experience...