From 7848e10af3d14b9a99c484cf88818bd585729619 Mon Sep 17 00:00:00 2001 From: "Kian-Meng, Ang" Date: Mon, 20 Dec 2021 12:35:23 +0800 Subject: [PATCH] Fix typos --- CHANGELOG.md | 4 ++-- lib/exq/api.ex | 4 ++-- test/performance_test.exs | 2 +- test/worker_test.exs | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23058be5..d1670c8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ NOTE: Please read PR #458 for upgrade instructions. - Add retried_at field for Sidekiq compatibility #450 by @ananthakumaran - Add apis to support exq_ui #452 by @ananthakumaran - Add documentation about mode: :enqueuer and Exq.Enqueuer.queue_in #456 by @dbernheisel -- Add api to immediatly enqeueue jobs from retry/scheduled queue #461 by @ananthakumaran +- Add api to immediately enqeueue jobs from retry/scheduled queue #461 by @ananthakumaran - Add api to re-enqueue dead job #462 by @ananthakumaran ### Changed @@ -51,7 +51,7 @@ NOTE: Please read PR #458 for upgrade instructions. - use Task instead of spawn_link for starting workers #436 by @mitchellhenke ### Fixed -- re-enqueue unfinished jobs to the begining of queue on restart #424 by @ananthakumaran +- re-enqueue unfinished jobs to the beginning of queue on restart #424 by @ananthakumaran - Fix for sentinel 0.11.0+ #428 by @ananthakumaran - Fixes for generated HTML docs by #442 @kianmeng diff --git a/lib/exq/api.ex b/lib/exq/api.ex index c8e7dc21..c6384c2d 100644 --- a/lib/exq/api.ex +++ b/lib/exq/api.ex @@ -391,7 +391,7 @@ defmodule Exq.Api do end @doc """ - Re enqueue jobs from retry queue immediatly. + Re enqueue jobs from retry queue immediately. Expected args: * `pid` - Exq.Api process @@ -478,7 +478,7 @@ defmodule Exq.Api do end @doc """ - Enqueue jobs from scheduled queue immediatly. + Enqueue jobs from scheduled queue immediately. Expected args: * `pid` - Exq.Api process diff --git a/test/performance_test.exs b/test/performance_test.exs index af0d8afe..dc001c66 100644 --- a/test/performance_test.exs +++ b/test/performance_test.exs @@ -85,7 +85,7 @@ defmodule PerformanceTest do stop_process(sup) end - test "peformance for flakey workers" do + test "performance for flakey workers" do Process.register(self(), :tester) max_timeout_ms = 2 * 1_000 diff --git a/test/worker_test.exs b/test/worker_test.exs index c1d9d06c..f9d989ef 100644 --- a/test/worker_test.exs +++ b/test/worker_test.exs @@ -239,7 +239,7 @@ defmodule WorkerTest do # Go through Exit reasons: http://erlang.org/doc/reference_manual/errors.html#exit_reasons test "execute invalid module perform" do - {:ok, worker} = start_worker({"NonExistant", "[]"}) + {:ok, worker} = start_worker({"NonExistent", "[]"}) assert_terminate(worker, false) end @@ -253,7 +253,7 @@ defmodule WorkerTest do assert_terminate(worker, false) end - test "worker with arithmatic error (badarith) still sends stats" do + test "worker with arithmetic error (badarith) still sends stats" do {:ok, worker} = start_worker({"WorkerTest.BadArithmaticWorker", "[]"}) assert_terminate(worker, false) end