Arthur Nogueira Neves

Results 83 comments of Arthur Nogueira Neves

AFAIK we resolve the names and store ips in memory, so if there is a DNS change I guess mongoid wont get that. Anyways I need to double check on...

I started a draft for the counter cached docs: https://gist.github.com/arthurnn/7042904 , feel free to fork it, and update it.

fixed a big memory leak on moped 2.0.1 related to nodes refresh, do you wanna give it a try on latest moped (2.0.2) and see if still have this performance...

Can you guys simulate this in isolation or it only happens in production? you can use https://github.com/mongoid/mongoid/blob/master/examples/mongoid_test.rb as base

we will need tests for the new option.

Kiqstand is responsible for both, to clean the IM and to disconnect. Maybe we should say both in the same paragraph instead.

That might make sense , however we probably will need a major/minor release for this change.

- which version of mongoid are you using? - Are you sure you are using safe writes, to insert in the DB?

(what do you mean, by it complains? it raises an error?, the error raises when you insert, or somewhere else?) I think what you should do is: - Upgrade to...

the option must be set under `session/default`, something like this: ``` yml production: sessions: default: hosts: - flame.mongohq.com:27017 database: mongoid options: consistency: :strong safe: true ```