Jan Olszak

Results 19 comments of Jan Olszak

There's another project on github I used as a souce of my own storage

Let me search for you: https://github.com/nguyenxuantuong/osin-mongo-storage

or maybe just update the documentation site. There seems to be a lot of documentation not displayed in the html version.

To solve the problem: - Map port 4369 - Map some port range - Add the port range to ejabberdcfg

Restoring purchase still doesn't work.

Yeap - simple client side load balancing

So it looks ok, what needs to be done to finish this? I can help.

One options is to use github.com/didip/tollbooth since it 's already battle tested and simple. Create the limiter with something like this ``` limiter = tollbooth.NewLimiter(ratePerSecond, &limiter.ExpirableOptions{ DefaultExpirationTTL: ...., ExpireJobInterval: ....,...

I think that the best option is to use https://godoc.org/golang.org/x/time/rate and just create one limiter per resty client. When making the request we'd just run `limiter.Wait(ctx)` this way we could...