Permalink
Browse files

remove debug logging

  • Loading branch information...
1 parent 4aa4e4c commit 7620511dd1c18119addf3677fd1aaa5a983083f6 Paulo Lopes committed Nov 20, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 lib/index.js
View
@@ -374,7 +374,6 @@ var ODM = {
var storeSnapshot = function (txdocument) {
if (options.transient === true) {
- console.log('USING IN MEMORY CACHE');
snapshotsCache.set(oid.toHexString(), txdocument);
callback(null);
} else {
@@ -421,7 +420,6 @@ var ODM = {
var loadSnapshot = function (callback) {
if (options.transient === true) {
- console.log('USING IN MEMORY CACHE');
callback(null, snapshotsCache.get(oid.toHexString()));
} else {
ODM.collection('snapshots', options, function (err, txcollection) {
@@ -529,7 +527,6 @@ var ODM = {
*/
flush: function (collection_name, oid, options, callback) {
if (options.transient === true) {
- console.log('USING IN MEMORY CACHE');
snapshotsCache.del(oid.toHexString());
} else {
ODM.collection('snapshots', options, function (err, txcollection) {

0 comments on commit 7620511

Please sign in to comment.