Skip to content

Commit

Permalink
remove useold
Browse files Browse the repository at this point in the history
  • Loading branch information
弈轩 committed Sep 25, 2012
1 parent fb58246 commit d550de7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions index.js
Expand Up @@ -6,7 +6,6 @@ var options = {
root : '/',
cache : __dirname + '/../run/cache',
uuid : process.pid,
useold : true
};

var storage = null;
Expand All @@ -22,7 +21,7 @@ exports.init = function (config) {
options[i] = config[i];
}

if (options.useold) {
if (!options.not_copy) {
setTimeout(function(){
var copy = false;
try {
Expand Down
2 changes: 1 addition & 1 deletion test/api.test.js
Expand Up @@ -9,7 +9,7 @@ var Client = require(__dirname + '/../').init({
,'token' : ''
,'cache' : __dirname + '/run/cache'
,'uuid' : 'apitest'
,'useold' : false
,'not_copy' : true
});

describe('client api', function () {
Expand Down

0 comments on commit d550de7

Please sign in to comment.