[tor-bugs] #22514 [Metrics/metrics-lib]: Replace DescriptorReader's setMaxDescriptorFilesInQueue() with setMaxMemory()

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jun 19 15:12:57 UTC 2017


#22514: Replace DescriptorReader's setMaxDescriptorFilesInQueue() with
setMaxMemory()
---------------------------------+-----------------------------------
 Reporter:  karsten              |          Owner:  metrics-team
     Type:  enhancement          |         Status:  needs_revision
 Priority:  Medium               |      Milestone:  metrics-lib 1.9.0
Component:  Metrics/metrics-lib  |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:                       |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+-----------------------------------

Comment (by karsten):

 Turns out it was much simpler.  The branch here was not based on the
 #22141 branch, and with the changes there we don't need to consider two
 different maxima (descriptor files and descriptors).  Following that, I'm
 pushing a tiny commit to the #22141 branch in a minute (and commenting
 there), and we can close this ticket when #22141 gets merged.  (We can
 still consider switching to a Java Collections class, but we should really
 do that with more time, not two days before a pretty big release.)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22514#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list