-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't clear non-SuckerPunch actors from registry
* Currently `SuckerPunch::Railtie` clears all actors from the Celluloid actor registry during initialization. This is problematic because an application using SuckerPunch may have additional Celluloid actors. * In this commit I propose prefixing the names of SuckerPunch actors such that we can ensure the Celluloid registry is cleared only of SuckerPunch actors on application initialization, per @nullstyle's suggestion here: #99 * Update `SuckerPunch::Queue#name` to add a prefix to queue names * Introduce `SuckerPunch.clear_queues` * Introduce `SuckerPunch::Queue.clear_all` * Update `SuckerPunch::Railtie` to use `SuckerPunch.clear_actors`
- Loading branch information
Laila Winner
committed
May 12, 2015
1 parent
90b0094
commit 74a7ce6
Showing
5 changed files
with
65 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters