Objects store reactor references
Bug #301037 reported by
Ross Light
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ZFN |
Fix Committed
|
Medium
|
Ross Light |
Bug Description
In ZFN, all objects requiring the use of the reactor have stored a reference to the reactor. This is unnecessary, since Twisted maintains a global reactor object. I did not realize this during development, and as such, many objects have a redundant reactor attribute.
I propose creating a get_reactor function in the util module so that we don't have to import reactor (thus automatically selecting the type of reactor) until the last possible moment.
Related branches
Changed in zfilenet: | |
assignee: | nobody → quartz25 |
importance: | Undecided → Medium |
milestone: | none → 0.3.0a1 |
status: | New → Confirmed |
Changed in zfilenet: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Fixed in trunk r193