dresende / node-orm2

Object Relational Mapping
http://github.com/dresende/node-orm2
MIT License
3.07k stars 379 forks source link

Cache being on by default breaks distributed systems #672

Closed gileze33 closed 8 years ago

gileze33 commented 8 years ago

Having cache default to true for entities seems a bit silly to me when they only work when you only have one instance of your app running.

For beginners, this can cause pretty big issues as it's hard to track down why changes in one instance of your application don't get reflected across others..

dxg commented 8 years ago

+1 Anyone against disabling it by default and bumping version to 2.2? @dresende?

dresende commented 8 years ago

LGTM