Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DigitalBox Public
sidekiq-cron
Commits
ae60c724
Unverified
Commit
ae60c724
authored
5 years ago
by
Ondřej Bartas
Browse files
Options
Download
Email Patches
Plain Diff
Fix require of launcher only in sidekiiq binary
parent
1821396a
master
fix-launcher-problem
v1.2.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/sidekiq/cron/launcher.rb
+6
-4
lib/sidekiq/cron/launcher.rb
with
6 additions
and
4 deletions
+6
-4
lib/sidekiq/cron/launcher.rb
View file @
ae60c724
# require Sidekiq original launcher
require
'sidekiq/launcher'
# require cron poller
require
'sidekiq/cron/poller'
...
...
@@ -42,4 +39,9 @@ module Sidekiq
end
end
::
Sidekiq
::
Launcher
.
prepend
(
Sidekiq
::
Cron
::
Launcher
)
Sidekiq
.
configure_server
do
# require Sidekiq original launcher
require
'sidekiq/launcher'
::
Sidekiq
::
Launcher
.
prepend
(
Sidekiq
::
Cron
::
Launcher
)
end
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help