Explorar o código

re-enabled query cache of ringo-sqlstore

see https://groups.google.com/d/msg/ringojs/Ji7BFWyODYQ/s_mb9hIY9pcJ resp. https://github.com/TechEmpower/FrameworkBenchmarks/issues/289#issuecomment-20669224 for an explanation of what the query cache does.
Robert Gaggl %!s(int64=12) %!d(string=hai) anos
pai
achega
1f735bc53c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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() {
     return new Cache(10000);
 });
-//store.setQueryCache(queryCache);
+store.setQueryCache(queryCache);
 
 // define entities in DB
 exports.World = store.defineEntity('World', {