Browse Source

Merge pull request #390 from grob/master

re-enable query cache of ringo-sqlstore
Michael Hixson 12 years ago
parent
commit
a297d3994f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ringojs-convenient/app/models.js

+ 1 - 1
ringojs-convenient/app/models.js

@@ -17,7 +17,7 @@ var store = exports.store = new Store(connectionPool);
 var queryCache = module.singleton("queryCache", function() {
 var queryCache = module.singleton("queryCache", function() {
     return new Cache(10000);
     return new Cache(10000);
 });
 });
-//store.setQueryCache(queryCache);
+store.setQueryCache(queryCache);
 
 
 // define entities in DB
 // define entities in DB
 exports.World = store.defineEntity('World', {
 exports.World = store.defineEntity('World', {