Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove debug logging

  • Loading branch information...
commit 7620511dd1c18119addf3677fd1aaa5a983083f6 1 parent 4aa4e4c
Paulo Lopes authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  lib/index.js
View
3  lib/index.js
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.