lib/pitchfork/message.rb in pitchfork-0.2.0 vs lib/pitchfork/message.rb in pitchfork-0.3.0
- old
+ new
@@ -121,10 +121,11 @@
Message = Class.new(Struct)
class Message
SpawnWorker = Message.new(:nr)
WorkerSpawned = Message.new(:nr, :pid, :generation, :pipe)
PromoteWorker = Message.new(:generation)
- WorkerPromoted = Message.new(:nr, :pid, :generation)
+ MoldSpawned = Message.new(:nr, :pid, :generation, :pipe)
+ MoldReady = Message.new(:nr, :pid, :generation)
SoftKill = Message.new(:signum)
end
end