ZFN

Objects store reactor references

Bug #301037 reported by Ross Light
2
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.

Tags: maintenance

Related branches

Ross Light (quartz25)
Changed in zfilenet:
assignee: nobody → quartz25
importance: Undecided → Medium
milestone: none → 0.3.0a1
status: New → Confirmed
Ross Light (quartz25)
Changed in zfilenet:
status: Confirmed → In Progress
Revision history for this message
Ross Light (quartz25) wrote :

Fixed in trunk r193

Changed in zfilenet:
status: In Progress → Fix Committed
Revision history for this message
Ross Light (quartz25) wrote :

Fixed in 0.3 r196

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.