diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-02-18 18:37:26 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-02-26 20:01:26 +0100 |
commit | fe783f6b0daca17089a67c468382c98282b1895f (patch) | |
tree | ed1e6a635a43f6ec8c0a8f47026fc19381068811 /server/lib/request-scheduler.js | |
parent | 2fec520605bc8919cc71ab6565bf55d8a79925ca (diff) | |
download | PeerTube-fe783f6b0daca17089a67c468382c98282b1895f.tar.gz PeerTube-fe783f6b0daca17089a67c468382c98282b1895f.tar.zst PeerTube-fe783f6b0daca17089a67c468382c98282b1895f.zip |
This is not a prototype anymore, but a real project!
Diffstat (limited to 'server/lib/request-scheduler.js')
-rw-r--r-- | server/lib/request-scheduler.js | 4 |
1 files changed, 1 insertions, 3 deletions
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 | } |