Skip to content

Commit 0a39370

Browse files
jadeforrestdefunkt
authored andcommitted
Added w.dir to set the current directory.
1 parent 3d2d25b commit 0a39370

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/god/resque.god

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ num_workers = rails_env == 'production' ? 5 : 2
44

55
num_workers.times do |num|
66
God.watch do |w|
7+
w.dir = "#{rails_root}"
78
w.name = "resque-#{num}"
89
w.group = 'resque'
910
w.interval = 30.seconds

0 commit comments

Comments
 (0)