lib/config.js   A
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 20
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
c 1
b 0
f 0
nc 1
dl 0
loc 20
rs 10
wmc 0
mnd 0
bc 0
fnc 0
bpm 0
cpm 0
noi 0
1
module.exports = {
2
  /**
3
   * User configurable property, sets the number of retries to do when an api returns a server error
4
   * @param {Number}
5
   * @default
6
   */
7
  maxRetry: 5,
8
  /**
9
   * User configurable property, sets the time to wait (in milliseconds) between 2 retries when an api returns a server error
10
   * @param {Number}
11
   * @default
12
   */
13
  retryTimeout: 1000,
14
  /**
15
   * User configurable property, sets the authentication mode to use. Possible values are 'basic' (default value) and 'cookie'
16
   * @param {String}
17
   * @default
18
   */
19
  authentication: 'basic',
20
};
21