shell-skrimp

Results 8 comments of shell-skrimp

The example uses `zap`, but any other logger that supports `io.Writer` should also work. While it is true that `cron` supports its own logger, it doesnt support the native standard...

You can definitely do it that way to the same affect. If that is preferred method in `robfin/cron` I would suggest updating docs to reflect that. Especially since that doesnt...

Refactor is probably overkill for something like this, especially with projects that use this library. That's why this PR adds additional functionality instead of removing/changing the old.

Going to give some context for any users that run into similar problem I have. Looking at the code you see how I handle the connection closing (via `defer`). For...

@phlogistonjohn go-ceph indeed has a memory leak with how `Shutdown` is called. See above code and https://github.com/golang/go/issues/43363#issuecomment-750729136. If you return a `*rados.Conn` and then immediately `defer conn.Shutdown()` it will _not_...

It's very hard to reproduce. Heaptrack indicates it's only about ~6% of connections. I tried with a custom program that just did these checks endlessly and it never leaked. If...

@ansiwen neither are valid. I thought that direct calling was better than `defer` because testing showed initially that there was no memory leak, but in the end there was still...

Hey all, sorry I didnt reply sooner, been busy ;) My use case was in a different project where I needed to create cgroups for a parent and its child...