[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #25148 [Core Tor/Tor]: Make geoip_client_cache_total_allocation() use geoip_client_history_cache_size



#25148: Make geoip_client_cache_total_allocation() use
geoip_client_history_cache_size
------------------------------+------------------------------------
     Reporter:  dgoulet       |      Owner:  dgoulet
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.3.3.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-geoip, performance
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------------
 In commit `4d812e29b9b1ec88`, we forgot to make the function returning the
 total allocation return the counter instead of going over all entries
 which hugs the CPU like crazy.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25148>
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