PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000910PacketFenceperformancepublic2010-02-09 15:072011-01-26 15:38
Reporterobilodeau 
Assigned Toobilodeau 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.8.7 
Target Version1.9.0Fixed in Version1.9.0 
Summary0000910: inefficient vlan_determine_for_node() and custom_getCorrectVlan() instantiate SwitchFactory unnecessarily
DescriptionEach time we create a new switchFactory the conf/switches.conf file is parsed and it's avoidable work. Especially during high load periods or when we will use these methods for each radius request.

Fix that by passing around the higher level switch object instead of reconstructing the object from the factory each time.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision17b374bae1c3fad156b6a3006369c0ca4bc9a39c
Attached Files

- Relationships

-  Notes
(0001468)
obilodeau (reporter)
2010-02-09 16:03

Fixed in monotone branch 1.8 rev no: 17b374bae1c3fad156b6a3006369c0ca4bc9a39c
will be propagated to 1.9

- Issue History
Date Modified Username Field Change
2010-02-09 15:07 obilodeau New Issue
2010-02-09 15:07 obilodeau Status new => assigned
2010-02-09 15:07 obilodeau Assigned To => obilodeau
2010-02-09 16:03 obilodeau Note Added: 0001468
2010-02-09 16:03 obilodeau Status assigned => resolved
2010-02-09 16:03 obilodeau Fixed in Version => 1.8.8
2010-02-09 16:03 obilodeau Resolution open => fixed
2010-02-09 16:03 obilodeau mtn revision => 17b374bae1c3fad156b6a3006369c0ca4bc9a39c
2010-02-10 11:23 obilodeau Category 1.8.7 => performance
2010-04-29 13:38 obilodeau Fixed in Version 1.8.8 => 1.9.0
2010-04-29 13:39 obilodeau Target Version 1.8.8 => 1.9.0
2011-01-26 15:38 obilodeau Status resolved => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker