diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/lib/friends.js | 2 | ||||
-rw-r--r-- | server/lib/request-scheduler.js | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/server/lib/friends.js b/server/lib/friends.js index 7dfa62a2a..d53ab4553 100644 --- a/server/lib/friends.js +++ b/server/lib/friends.js | |||
@@ -14,7 +14,7 @@ const requests = require('../helpers/requests') | |||
14 | const RequestScheduler = require('./request-scheduler') | 14 | const RequestScheduler = require('./request-scheduler') |
15 | 15 | ||
16 | const ENDPOINT_ACTIONS = constants.REQUEST_ENDPOINT_ACTIONS[constants.REQUEST_ENDPOINTS.VIDEOS] | 16 | const ENDPOINT_ACTIONS = constants.REQUEST_ENDPOINT_ACTIONS[constants.REQUEST_ENDPOINTS.VIDEOS] |
17 | const requestScheduler = new RequestScheduler('') | 17 | const requestScheduler = new RequestScheduler() |
18 | 18 | ||
19 | const friends = { | 19 | const friends = { |
20 | activate, | 20 | activate, |
diff --git a/server/lib/request-scheduler.js b/server/lib/request-scheduler.js index c8bc4af28..28dabe339 100644 --- a/server/lib/request-scheduler.js +++ b/server/lib/request-scheduler.js | |||
@@ -9,9 +9,7 @@ const requests = require('../helpers/requests') | |||
9 | 9 | ||
10 | module.exports = class RequestScheduler { | 10 | module.exports = class RequestScheduler { |
11 | 11 | ||
12 | constructor (name) { | 12 | constructor () { |
13 | this.name = name | ||
14 | |||
15 | this.lastRequestTimestamp = 0 | 13 | this.lastRequestTimestamp = 0 |
16 | this.timer = null | 14 | this.timer = null |
17 | } | 15 | } |