mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 04:22:28 +01:00
Move migration to top of unicorn config file
There's probably a cleaner way of doing this, but it should do for now. Fixes #4
This commit is contained in:
parent
6c48bcadbe
commit
e28755f76c
@ -1,8 +1,6 @@
|
||||
#!/usr/bin/env ruby
|
||||
# frozen_string_literal: true
|
||||
|
||||
`rake db:setup`
|
||||
|
||||
require 'rufus-scheduler'
|
||||
|
||||
scheduler = Rufus::Scheduler.new
|
||||
|
@ -1,5 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
`rake db:setup`
|
||||
|
||||
worker_process_count = (ENV['WORKER_PROCESSES'] || 4).to_i
|
||||
|
||||
preload_app true
|
||||
|
Loading…
Reference in New Issue
Block a user