Re: [go-nuts] Can't figure out why simple mockserver doesn't hit the handler

2025-03-15 Thread David Karr
Ok, I figured out the basic problem. I had neglected to configure the server url in the httpclient object used by both the CUT and the test, so the request wasn't being sent to the mock server or the mock handler. Thanks for the responses. Some of that will be useful anyway. I didn't realize th

Re: [go-nuts] sharded rw mutex approaches?

2025-03-15 Thread Jason E. Aten
oh nice. I like the hashing idea to pick a shard lock out of array...that way I don't have to stick locks on, and bloat, every node in the btree. I can just take the hash value modulo a the size of a fixed set of locks... Thanks Robert. p.s. awl, thanks, yes... saw that. thank you. On Friday, M