Article View: news.software.readers
Article #74198Re: [slrn] New behaviour using 'g'
From: Thomas Schultz
Date: Sun, 25 Mar 2001 13:56
Date: Sun, 25 Mar 2001 13:56
33 lines
2557 bytes
2557 bytes
* Marc Langer [2001-03-24 23:14] : > When I post an article, leave the group and press 'g' the group list > is not updated with the new (+1) number of unread articles. I have to > move the cursor to another group and then press 'g' again. > > That wasn't necessary in previous versions: is it a bug or a feature? Feature. Here is the explanation as posted to slrn-user: When re-writing the group refresh code, I noticed that inn wouldn't update the "high water mark" when selecting the same group twice in a row. I thought this was some kind of weird bug and added code to slrn to do a re-connect each time it wanted to re-select a group. This resulted in the behaviour you got used to -- all new articles were immediatly shown when you hit "G". However, I browsed through inn's sourcecode some time ago and noticed that the authors had deliberately put a timeout in there, saying that inn will only scan a group for new articles if you a) selected a different group before or b) you last scanned the group more than 60 seconds before. I realized that this was put in to reduce server load and by doing a re-connect, slrn did exactly the opposite: It created additional server load and network traffic. So I took that code out again. As Usenet is not a real-time medium anyway, those 60 seconds should not hurt anyone. -- Thomas Schultz <tststs@gmx.de> * Recent news from http://slrn.sourceforge.net/ -> [2001-03-15] Public preview of slrn 0.9.7.0 -> [2001-01-28] First steps towards slrn 0.9.7.0 -> [2001-01-19] Thomas Schultz new slrn maintainer
Technical Details
Message-ID:
<slrn9bru8s.15i.tststs@starflower.tststs.ddns.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!fr.clara.net!heighliner.fr.clara.net!newsfeed.hanau.net!newsfeed01.sul.t-online.de!t-online.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mailReferences:
<99j9pd$ahe$4@dauntless.marclanger.de>Show Full Headers
Complete Article Headers
Message-ID: <slrn9bru8s.15i.tststs@starflower.tststs.ddns.org> Subject: Re: [slrn] New behaviour using 'g' Date: Sun, 25 Mar 2001 13:56:44 +0000 From: tststs@gmx.de (Thomas Schultz) References: <99j9pd$ahe$4@dauntless.marclanger.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!fr.clara.net!heighliner.fr.clara.net!newsfeed.hanau.net!newsfeed01.sul.t-online.de!t-online.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail Newsgroups: news.software.readers Organization: Pinguin online. Lines: 32 NNTP-Posting-Host: 149.225.49.15 NNTP-Posting-Date: 25 Mar 2001 16:16:02 GMT X-Complaints-To: abuse@cityweb.de X-Server-Date: 25 Mar 2001 16:12:55 GMT User-Agent: slrn/0.9.6.4pl4c (Linux)