mirror of
https://github.com/hkalexling/Mango.git
synced 2026-03-20 00:00:48 -04:00
Decouple Queue and related classes from MangaDex
This commit is contained in:
@@ -8,7 +8,7 @@ require "./routes/*"
|
||||
class Context
|
||||
property library : Library
|
||||
property storage : Storage
|
||||
property queue : MangaDex::Queue
|
||||
property queue : Queue
|
||||
|
||||
def self.default : self
|
||||
unless @@default
|
||||
@@ -20,7 +20,7 @@ class Context
|
||||
def initialize
|
||||
@storage = Storage.default
|
||||
@library = Library.default
|
||||
@queue = MangaDex::Queue.default
|
||||
@queue = Queue.default
|
||||
end
|
||||
|
||||
{% for lvl in Logger::LEVELS %}
|
||||
|
||||
Reference in New Issue
Block a user