Re: Folder refresh
[email protected] Mon, 30 Aug 2010 04:30:08 +0100
| Newsgroups | gmane.mail.cone |
|---|---|
| Message-ID | <[email protected]> |
Sam Varshavchik writes: > [email protected] writes: > >> Sam Varshavchik writes: >> >>> [email protected] writes: >>> >>>> Me again, >>>> >>>> Another issue - Is there a way to decrease the period of time cone waits >>>> before checking for new mail in the folders, and hence update the numbers >>>> of messages (read/unread) in the parantheses? I'm using local maildirs, if >>>> it matters. >>>> >>>> I'm quite an avid mail user (as you may have noticed) and I refresh the >>>> listings by collapsing/expanding the Folders section.. but would be nice to >>>> not have to do this. >>> >>> Nope, this is not a configurable parameter. >>> >>> Note, that if you have an open folder, new mail in the currently open folder >>> will be show up immediately upon delivery (well, within a second, or two). >>> This applies to maildirs, and most IMAP folders. >>> >> >> Hi again, >> >> Where in the source code should I be looking if I wanted to decrease the >> period cone waits for checking the maildirs and updating the number of new >> messages? > > File cone/myserver.C: > > myServer::myServer(string name, string urlArg) > : serverName(name), url(urlArg), mailCheckInterval(300), server(NULL), > currentFolder(NULL), hierarchyEntry(NULL) > { > server_list.push_back(this); // Register ourselves. > } > > That "300" is the number of seconds -- 5 mins by default. > > This applies any folder that's selected to be shown as a top level folder > (from the folder index tree, "U"se, then "T"op level folder). Folders that > are shown somewhere else in the hierarchy never have their size rechecked -- > this can only be done manually by closing and reopening the hierarchy. > Thanks for the info! ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Courier-cone mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone