Closed
Bug 780282
Opened 12 years ago
Closed 12 years ago
Autophone should have option to disable pulse listener
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wlach, Assigned: wlach)
Details
Attachments
(1 file)
5.01 KB,
patch
|
mcote
:
review+
|
Details | Diff | Splinter Review |
For some applications, or just for testing purposes, it would be good to be able to disable the pulse listener in autophone.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → wlachance
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #648859 -
Flags: review?(mcote)
Comment 2•12 years ago
|
||
Comment on attachment 648859 [details] [diff] [review] Add option to disable pulse listener So I like that the option is --disable-pulse, since the default would be to leave it running, but it strikes me as funny that the parameter to the AutoPhone constructor is "disable_pulse", in part because it doesn't default to True. It just seems funny for a function to take a mandatory parameter to disable something or not. I think I might switch it to "enable pulse" or something like that. But it's not terribly important. In fact, going forward, I think we'll want to specify more granularity in pulse options. Soon, autophone will just be listening to mozilla-central builds, or possibly just whatever build is most recent. So it might make sense at that point to configure the pulse listener via a config file or something. But I think that would benefit from more thought, so this patch is good for now.
Attachment #648859 -
Flags: review?(mcote) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Pushed: https://github.com/mozilla/autophone/commit/af09c7a380bd75bde5fb828a06a083b7b44777a8
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•