Commit ae343762 authored by Tristan Cavelier's avatar Tristan Cavelier

Changing max_retry default value for getDocumentList and loadDocument.

parent 24cee2a2
/*! JIO - v0.1.0 - 2012-07-31 /*! JIO - v0.1.0 - 2012-08-01
* Copyright (c) 2012 Nexedi; Licensed */ * Copyright (c) 2012 Nexedi; Licensed */
var jio = (function () { var jio = (function () {
...@@ -1671,7 +1671,7 @@ var jobRules = (function(spec, my) { ...@@ -1671,7 +1671,7 @@ var jobRules = (function(spec, my) {
option = option || {}; option = option || {};
option.success = option.success || function(){}; option.success = option.success || function(){};
option.error = option.error || function(){}; option.error = option.error || function(){};
option.max_retry = option.max_retry || 0; option.max_retry = option.max_retry || 3;
option.metadata_only = (option.metadata_only !== undefined? option.metadata_only = (option.metadata_only !== undefined?
option.metadata_only:false); option.metadata_only:false);
jobManager.addJob( jobManager.addJob(
...@@ -1722,7 +1722,7 @@ var jobRules = (function(spec, my) { ...@@ -1722,7 +1722,7 @@ var jobRules = (function(spec, my) {
option = option || {}; option = option || {};
option.success = option.success || function(){}; option.success = option.success || function(){};
option.error = option.error || function(){}; option.error = option.error || function(){};
option.max_retry = option.max_retry || 0; option.max_retry = option.max_retry || 3;
option.metadata_only = (option.metadata_only !== undefined? option.metadata_only = (option.metadata_only !== undefined?
option.metadata_only:true); option.metadata_only:true);
jobManager.addJob( jobManager.addJob(
......
This diff is collapsed.
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
option = option || {}; option = option || {};
option.success = option.success || function(){}; option.success = option.success || function(){};
option.error = option.error || function(){}; option.error = option.error || function(){};
option.max_retry = option.max_retry || 0; option.max_retry = option.max_retry || 3;
option.metadata_only = (option.metadata_only !== undefined? option.metadata_only = (option.metadata_only !== undefined?
option.metadata_only:false); option.metadata_only:false);
jobManager.addJob( jobManager.addJob(
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
option = option || {}; option = option || {};
option.success = option.success || function(){}; option.success = option.success || function(){};
option.error = option.error || function(){}; option.error = option.error || function(){};
option.max_retry = option.max_retry || 0; option.max_retry = option.max_retry || 3;
option.metadata_only = (option.metadata_only !== undefined? option.metadata_only = (option.metadata_only !== undefined?
option.metadata_only:true); option.metadata_only:true);
jobManager.addJob( jobManager.addJob(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment