Dmitry Polushkin

Results 158 comments of Dmitry Polushkin
trafficstars

Any roadmap, how I can contribute? What's done here and undone?

Please merge this PR. I can confirm `rails` command should be included in an array map so that some capistrano plugins could work correctly.

`set :rvm_ruby_version, IO.read('.ruby-version').strip` I have new line on the end of the string, which is prevents from deployment.

We are doing it currently like `redis.del(redis.keys('*'))` in our tests (or previously `redis.keys('*').each { |key| redis.del(key) }`). And I guess there are no better way of doing the same thing....

@yaauie thanks for the suggestion. We have parallel tests that are isolated by the `redis-namespace` and they are running in sequential flow, so the `keys` + `del` is enough for...

@Fryie yes, that's right. To prevent from 2 calls, you have to use: ``` ruby if (keys = redis.keys) && !keys.empty? redis.del(keys) end ```

Saw the similar issue. Looks like queue updates *number of queue* after promise calls then func.

Reason of that is here: https://github.com/promise-queue/promise-queue/blob/master/lib/index.js#L159 `resolve` calls before the queue been shifted from the `_dequeue` call. Probably at the moment it is possible to fix an issue with `setTimeout(=>...

What database do you have PostgreSQL?