]> Sergey Matveev's repositories - public-inbox.git/commit
nntp: reduce timers for weakening
authorEric Wong <e@80x24.org>
Mon, 25 Apr 2016 07:51:26 +0000 (07:51 +0000)
committerEric Wong <e@80x24.org>
Mon, 25 Apr 2016 07:53:45 +0000 (07:53 +0000)
commit0d02fc0c2441266e5cc64fc92063fcb04bd13bbf
tree58ee35dd46c3c0f0da29be97985d08ae4f829b19
parentf55f774e9f2e32267ec5e7ab3647362c4bdaaad9
nntp: reduce timers for weakening

Danga::Socket timers are not cheap, so avoid creating up
to 3 timers per-newsgroup by batching resource weakening.
This lets us reduce resource consumption for scheduing
additional resource consumption reduction :)
lib/PublicInbox/NNTP.pm
lib/PublicInbox/NewsGroup.pm