[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #1511 [Tor Relay]: Accounting Resets when System Timezone Changes
#1511: Accounting Resets when System Timezone Changes
-----------------------+----------------------------------------------------
Reporter: BarkerJr | Owner: nickm
Type: defect | Status: needs_review
Priority: major | Milestone: Tor: 0.2.2.x-final
Component: Tor Relay | Version: Tor: 0.2.2.13-alpha
Keywords: | Parent:
-----------------------+----------------------------------------------------
Comment(by nickm):
arg, I think you're right. In the case where the period shifts forward,
we'll hit the first check in configure_accounting, which checks for
{{{
start_of_accounting_period_after(interval_start_time) <= now
}}}
and advances the accounting period.
Not quite sure what the right way to express the fix is. I'll take a
crack at it... have a look at the latest patch on my bug1511 branch? If
you like it, I'll backport to 0.2.1.x and do the merging
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1511#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs