mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
OMG IT ROFLSCALES NOW
This commit is contained in:
parent
c93d0bbc7f
commit
3f8167dc17
1 changed files with 3 additions and 1 deletions
|
@ -61,7 +61,9 @@ if ENV['RACK_ENV'] == 'development'
|
||||||
module Worker
|
module Worker
|
||||||
module ClassMethods
|
module ClassMethods
|
||||||
def perform_async(*args)
|
def perform_async(*args)
|
||||||
self.new.perform *args
|
Thread.new {
|
||||||
|
self.new.perform *args
|
||||||
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue