Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ruby/lib/ci/queue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
require 'ci/queue/queue_entry'
require 'ci/queue/class_resolver'
require 'ci/queue/file_loader'
require 'ci/queue/local'

module CI
module Queue
Expand Down Expand Up @@ -81,6 +82,8 @@ def from_uri(url, config)
Static
when 'file', nil
File
when 'local'
Local
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should follow the pattern from redis and only require the local queue if it's needed.

when 'redis', 'rediss'
require 'ci/queue/redis'
Redis
Expand Down
Loading
Loading