[tor-bugs] #22141 [Metrics/metrics-lib]: Deprecate `DescriptorFile` and add relevant information to `Descriptor`
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Jun 19 12:25:21 UTC 2017
#22141: Deprecate `DescriptorFile` and add relevant information to `Descriptor`
---------------------------------+-----------------------------------
Reporter: karsten | Owner: karsten
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:
---------------------------------+-----------------------------------
Changes (by karsten):
* status: needs_review => needs_revision
Comment:
Hrmm, I just realized that we'll have to implement #22514 before we can
get to this ticket. Right now, `readDescriptors(File...)` uses the `int`
value set in `setMaxDescriptorFilesInQueue(int)` as maximum queue size,
which is wrong. We'll need either a `setMaxDescriptorsInQueue(int)` or
the suggested `setMaxRawDescriptorBytesInQueue(long)` before we can merge
this branch. So, let's work on #22514 first!
(In the meantime it would still be useful to know whether the new
interface will work with CollecTor's sync part!)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22141#comment:35>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list