mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
correct runner so you can run it in non-spork mode
This commit is contained in:
parent
3e2bd3ca93
commit
b40d15f81d
1 changed files with 3 additions and 1 deletions
|
@ -54,9 +54,11 @@ class Autospec::Runner
|
|||
|
||||
puts "Forced polling (slower) - inotify does not work on network filesystems, use local filesystem to avoid" if opts[:force_polling]
|
||||
|
||||
if ENV["SPORK"] == 0
|
||||
if ENV["SPORK"] == "0"
|
||||
puts "Using Simple Runner"
|
||||
@runner = Autospec::SimpleRunner.new
|
||||
else
|
||||
puts "Using Spork Runner"
|
||||
@runner = Autospec::SporkRunner.new
|
||||
end
|
||||
@runner.start
|
||||
|
|
Loading…
Reference in a new issue