Martin Tournoij
Martin Tournoij
Yeah, it's been like this for ages, or at least for as long as I've been involved: https://github.com/fsnotify/fsnotify/blob/main/testdata/watch-dir/remove-symlink#L13 Doesn't seem to be an easy fix; I'll probably pick this up...
I have never been entirely happy about the Maxmind EULA situation, but a number of Linux distros ship the database as packages so I figured it would be fine. Basically...
I want GoatCounter to be a "Just Works" binary without external dependencies, so people can easily self-host with a minimum of fuss. Dealing with GeoIP database downloads rather goes against...
> I integrated Goatcounter into a new project. Aside from the size issues, one problem is that the current database returns a lot of empty values for city-level information. I...
I wonder if there isn't a more generic way to implement this. What you want is: c := cache.New() c.Lock() c.Items() c.Flush() c.Unlock() But the "Items()" and "Flush()" are pretty...
In your example, if you call `c.Items()` in the the callback then that will also lock, but since it's already locked from the `Locked()` call it will hang forever as...
> I understand that this does not allow for custom formats, only the base/default Caddy formatting. I'm not sure if a custom query language is desired or not. Do you...
Okay, it'll be fine to just add a Caddy-specific method. I don't really feel like coming up and implementing a generic approach, especially when it's unclear that's needed. Looking at...
I merged your other PR – if you rebase on master I'll have a detailed look at this one.
The test file only has a single request – it should have a few requests, to test that reading more than one request works. I also wonder if/how `goatcounter import...