Is it possible to shutdown a Supervise pool?

20 views
Skip to first unread message

Matthew Iverson

unread,
Dec 8, 2017, 5:41:54 PM12/8/17
to Celluloid
So I am finally diving into the Celluloid world and really enjoying it. I am trying to figure out how to shutdown a pool verses a single instance. Examples

foo = supervison_group.supervise({type: Rabbit::Publish, as: :data_pushers, size: 5, args: [data_name: "publisher"]})
foo
.shutdown

Will shutdown the Actor. However

bar = supervison_group.pool(Rabbit::Subscribe, as: :data_fetchers, size: 3)
bar
.shutdown

Will give me a method not found exception. What am I missing?

Matt
Reply all
Reply to author
Forward
0 new messages