Re: remove old messages from history
"Jayjay" <[email protected]> Tue, 6 Feb 2007 10:47:32 +0100
| Newsgroups | gmane.network.centericq |
|---|---|
| Message-ID | <[email protected]> |
> is there a script which goes thru all the history files in .centericq > dir and removes messages older than certain amount of time? > I'm experiencing delays when switching to user who has history file > 1MB. Good idea, but changing the way CenterICQ works would be better. It seems that CICQ (re)loads a whole history file when opening a chat window. It would be better if it only loads the latest 40 messages and skips the others (for speed and memory). Loading all the chat history would only be useful when starting the history view (e.g. with the h key). This change would require a bit of C++ programming though (another patch...). Miso, you could change my Perl mergeHistory script a little bit to get it working the way you suggest. It already reads the timestamps. Cheers, Jayjay _______________________________________________ Cicq mailing list Cicq-xGejAJT2w6wWP6gT/[email protected] http://mailman.linuxpl.org/mailman/listinfo/cicq Questions? Check the FAQ first: http://centericq.de/faq/