🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #17932

Re: tin - Rereading active file SLOOOW!

#17932
From: Greg Berigan
Date: Sun, 21 Jan 1996 00:00
43 lines
2414 bytes
johnc@csdc.toshiba.com.au (John Creasey) wrote:

>We are running the latest beta release of tin and I
>have noticed that it is very slow to re-read the active
>file. When you first start it it gets going quite quickly,
>but if it has to re-read the active file it can take 4 or
>5 minutes.

I have noticed that the twirling cursor spins quickly on first read, but
not as fast in subsequent reads.  It seems like the twirling routine
forgets to spin on the first attempt until it is done reading.

>Does anyone else have this problem?
>Can I tell tin to never re-read the active file?

No.  It will reread whenever you post an article and then return to group
selection level.  This is hard coded.

>I tried setting reread_active_file_secs to a 
>very large number, but it just seems to get reset
>to 600.

That value is for frequency of rereading, not for duration of reading. 
Also, if an article is posted, it will reread when you return to group
selection level.

Rereading the active file is necessary to update internal data structures
necessary to function properly.  If the active file was never reread,
articles that have arrived since the last time the active file was read
would never have their crossposted locations marked as read.

I'll add looking into active file rereads to my growing list of things to
do with tin.  I am not the author and I do have other things to do.  The
source is public; you are free to take a stab at it yourself if you like.

-- 
         _-<#)-=# http://cse.unl.edu/~gberigan/ (Greg Berigan)
     ___/___
  _-~_--<###)    "It's MIME Time.  Today on MIME Time: posting an imaginary
<~c>' __--<       Usenet news article."  MIME winks, mimes typing at a  _
 \_--=____#)      keyboard and is consumed by real flames.  "The End." d b CC

Technical Details
Message-ID: <gberigan-2101962327210001@abel-gberigan.unl.edu>
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!not-for-mail
References: <4dju31$84m@plaster.csdc.toshiba.com.au>

Show Full Headers
Complete Article Headers
Message-ID: <gberigan-2101962327210001@abel-gberigan.unl.edu>
Subject: Re: tin - Rereading active file SLOOOW!
Date: Sun, 21 Jan 1996 00:00:00 +0000
From: gberigan@cse.unl.edu (Greg Berigan)
References: <4dju31$84m@plaster.csdc.toshiba.com.au>
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!not-for-mail
X-Deja-AN: 136250178
Organization: University of Nebraska -- Lincoln
Newsgroups: news.software.readers