Skip to content

Commit f3edaa4

Browse files
committed
docs: Fix a few typos
There are small typos in: - docs/running.rst - ws4redis/static/js/ws4redis.js Fixes: - Should read `completely` rather than `completly`. - Should read `attempts` rather than `attmpts`. - Should read `attempts` rather than `attemps`. Signed-off-by: Tim Gates <tim.gates@iress.com>
1 parent d41f4c0 commit f3edaa4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/running.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ Serving static files
287287
--------------------
288288
The alert reader will have noticed, that static files are not handled by this configuration. While
289289
in theory it is possible to configure **uWSGI** to `deliver static files`_, please note that
290-
**uWSGI** is not intended to completly `replace a webserver`_. Therefore, before adding
290+
**uWSGI** is not intended to completely `replace a webserver`_. Therefore, before adding
291291
``route = ^/static static:/path/to/static/root`` to the emperors ini-file, consider to place them
292292
onto a Content Delivery Network, such as Amazon S3.
293293

ws4redis/static/js/ws4redis.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function WS4Redis(options, $) {
7676

7777
function on_open() {
7878
console.log('Connected!');
79-
// new connection, reset attemps counter
79+
// new connection, reset attempts counter
8080
attempts = 1;
8181
deferred.resolve();
8282
if (opts.heartbeat_msg && heartbeat_interval === null) {
@@ -113,7 +113,7 @@ function WS4Redis(options, $) {
113113
// this code is borrowed from http://blog.johnryding.com/post/78544969349/
114114
//
115115
// Generate an interval that is randomly between 0 and 2^k - 1, where k is
116-
// the number of connection attmpts, with a maximum interval of 30 seconds,
116+
// the number of connection attempts, with a maximum interval of 30 seconds,
117117
// so it starts at 0 - 1 seconds and maxes out at 0 - 30 seconds
118118
function generate_inteval(k) {
119119
var maxInterval = (Math.pow(2, k) - 1) * 1000;

0 commit comments

Comments
 (0)