Making dircproxy Fast
Eric Hodel | Wed, 12 Apr 2006 13:24:52 GMT
I use dircproxy to maintain my IRC connection to #ruby-lang so I can flip through the scrollback when I rejoin. Unfortunately tons of people come and go from #ruby-lang during the course of a day. All these quits and joins get logged and all of them get sent when I reconnect by default, which can take ten to twenty seconds.
Flipping through the dircproxy man page I found the following configuration settings will stop logging the quits and joins and nearly eliminate reconnect time:
log_events -join,-part,-quit,-nick
So my dircproxy configuration for Freenode looks like this:
server_throttle 10
disconnect_existing_user yes
listen_port ...
log_events -join,-part,-quit,-nick
connection {
password "..."
server "irc.freenode.net"
join "#ruby-lang, #seattle.rb, #ruby2c"
}
no comments
Comments are disabled


Articles