summaryrefslogtreecommitdiff
path: root/js/src/Ice/RetryQueue.js
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-03-27 12:32:02 +0200
committerJose <jose@zeroc.com>2018-03-27 12:32:02 +0200
commitc21ef10cef69a8549491ce0bf324da6c4412399a (patch)
treeb4de3c62defbaf4028a3431234df44914366a1e5 /js/src/Ice/RetryQueue.js
parentExtra fixes for hold test to break loops in case of error (diff)
downloadice-c21ef10cef69a8549491ce0bf324da6c4412399a.tar.bz2
ice-c21ef10cef69a8549491ce0bf324da6c4412399a.tar.xz
ice-c21ef10cef69a8549491ce0bf324da6c4412399a.zip
JavaScript ESLINT prefer const usage
https://eslint.org/docs/rules/prefer-const
Diffstat (limited to 'js/src/Ice/RetryQueue.js')
-rw-r--r--js/src/Ice/RetryQueue.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/Ice/RetryQueue.js b/js/src/Ice/RetryQueue.js
index deb15afc2a3..4f36821da47 100644
--- a/js/src/Ice/RetryQueue.js
+++ b/js/src/Ice/RetryQueue.js
@@ -64,7 +64,7 @@ class RetryQueue
{
throw new Ice.CommunicatorDestroyedException();
}
- let task = new RetryTask(this._instance, this, outAsync);
+ const task = new RetryTask(this._instance, this, outAsync);
outAsync.cancelable(task); // This will throw if the request is canceled
task.token = this._instance.timer().schedule(() => task.run(), interval);
this._requests.push(task);