Skip to content

[alert/timer/client] SignedOn unsafe for admin_reload #74

@gkistler

Description

@gkistler

Modules need a hook that provides functionality that isn't currently provided by SetupContainer. In pbm_alert's case I ran into an issue where I needed to create a looping timer that queried a database; this isn't currently supported.

Digging in I found that the most direct way to add this functionality would be to simply extend SetupContainer and add query functionality for use in module inits. For the time being I do like how SetupContainer provides reactor-thread-safe versions of Container's methods.

I'm thinking that's what I'll do for now until we address how deeply coupled Factory/Settings/Container/Dispatcher are.

Alternatively I can simply fire a fake SignedOn event on reload/etc, but that seems less intuitive to me.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions