-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: urcd action: commit revision: path_from: revision_from: c06adfeeb8eb83c7aaf16dbf8c0b1bc020f7ad32: path_to: revision_to:
commit c06adfeeb8eb83c7aaf16dbf8c0b1bc020f7ad32 Author: root <root@d3v11.ano> Date: Tue May 28 03:11:19 2013 +0000 [urcd.pyx] size db diff --git a/src/urcd.pyx b/src/urcd.pyx
--- a/src/urcd.pyx +++ b/src/urcd.pyx @@ -72,6 +72,10 @@ if URCDB: except: channel_struct = dict() while len(channel_struct) > CHANLIMIT: del channel_struct[channel_struct.keys()[0]] +for dst in channel_struct.keys(): + channel_struct[dst]['names'] = collections.deque(list(channel_struct[dst]['names']),CHANLIMIT) + if channel_struct[dst]['topic']: channel_struct[dst]['topic'] = channel_struct[dst]['topic'][:TOPICLEN] + def sock_close(sn,sf): try: os.remove(str(os.getpid())) except: pass
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 16:21:24 2024