about summary refs log tree commit diff
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2022-12-15 09:57:26 -0500
committerGitHub <noreply@github.com>2022-12-15 15:57:26 +0100
commit596923da4a4a0e384da5abeb0d987c127301630a (patch)
tree0d993f284cb1f6fb301bd3881e3d3a2d2b984cfe
parenta0813806d6be42c2b1d466315b3bbecb4950f334 (diff)
Fix typos in source documentation (#21046)
Fixed 2 source comment/documentation typos
-rw-r--r--app/workers/scheduler/suspended_user_cleanup_scheduler.rb2
-rw-r--r--config/initializers/devise.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/scheduler/suspended_user_cleanup_scheduler.rb b/app/workers/scheduler/suspended_user_cleanup_scheduler.rb
index 50768f83c..87e22161b 100644
--- a/app/workers/scheduler/suspended_user_cleanup_scheduler.rb
+++ b/app/workers/scheduler/suspended_user_cleanup_scheduler.rb
@@ -9,7 +9,7 @@ class Scheduler::SuspendedUserCleanupScheduler
   MAX_PULL_SIZE = 50
 
   # Since account deletion is very expensive, we want to avoid
-  # overloading the server by queing too much at once.
+  # overloading the server by queuing too much at once.
   # This job runs approximately once per 2 minutes, so with a
   # value of `MAX_DELETIONS_PER_JOB` of 10, a server can
   # handle the deletion of 7200 accounts per day, provided it
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb
index c55bea7a7..d7b252c3f 100644
--- a/config/initializers/devise.rb
+++ b/config/initializers/devise.rb
@@ -159,7 +159,7 @@ Devise.setup do |config|
   # config.request_keys = []
 
   # Configure which authentication keys should be case-insensitive.
-  # These keys will be downcased upon creating or modifying a user and when used
+  # These keys will be lowercased upon creating or modifying a user and when used
   # to authenticate or find a user. Default is :email.
   config.case_insensitive_keys = [:email]