Michael P. Jung

Results 214 comments of Michael P. Jung

@godofdream I wonder if you have found a solution for your problem? I keep coming back to this ticket from time to time wondering about how this could be implemented...

Oh wait... `pgbouncer` doesn't even support load-balancing: https://www.pgbouncer.org/faq.html#how-to-load-balance-queries-between-several-servers :facepalm:

It should be the other way around: `Arc`

It seams the `odbc` crate does not provide a thread-safe way of using the connection object. In order to solve that you could spawn the client in its own thread...

I'm marking this as a new feature which is blocked by https://github.com/Koka/odbc-rs/issues/131 for now.

If you were to change the `deadqueue::atomic::Available` implementation so it returns the new (or old) value after `add` and `sub` you could use that to find out if the queue...

I consider those to be complementary. I'm currently working on #59 but have diverged from #62 and added the methods directly to the `FluentLanguageLoader` as it introduces way less code...

I rebased this branch on the current `master` branch and marked the `get_lang*` methods as deprecated rather than removing them.

I do prefer this implementation over the other one. It's much cleaner and makes it possible to pick the language using the regular `fl!` macro without any further code changes.

I just released [Tusker 0.2.0](https://pypi.org/project/tusker/) with the help of @Swizz that supports diffing a `schema` file, `migration` files and an actual `database`. It uses `migra` for all diffing purposes but...