Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
* [sup-devel] [issue57] Request: Flush changes periodically
@ 2010-01-28 20:06 Anirudh Sanjeev
  2010-01-28 20:21 ` Eric Sherman
  0 siblings, 1 reply; 2+ messages in thread
From: Anirudh Sanjeev @ 2010-01-28 20:06 UTC (permalink / raw)
  To: sup-devel


New submission from Anirudh Sanjeev <anirudh@anirudhsanjeev.org>:

Can there be an optional functionality to flush changes to disk every 10-15
minutes, instead of having to press $ every time

Rationale: I'm in a place where power cuts are extremely frequent. I keep
forgetting to flush changes manually requiring me to re-delete and archive my
messages every time I reboot and restart sup.

I run sup off of git 'next' head. A patch which will hard-code this
functionality would be fine as well. Alternatively, is there a command I can
call via a cron job to do this?

Thanks!

----------
messages: 142
nosy: anirudhs
priority: feature request
ruby_version: 1.8
status: unread
sup_version: git/next
title: Request: Flush changes periodically

_________________________________________
Sup issue tracker <sup-bugs@masanjin.net>
<http://masanjin.net/sup-bugs/issue57>
_________________________________________
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sup-devel] [issue57] Request: Flush changes periodically
  2010-01-28 20:06 [sup-devel] [issue57] Request: Flush changes periodically Anirudh Sanjeev
@ 2010-01-28 20:21 ` Eric Sherman
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Sherman @ 2010-01-28 20:21 UTC (permalink / raw)
  To: sup-devel

Excerpts from Anirudh Sanjeev's message of Thu Jan 28 15:06:04 -0500 2010:
> 
> Can there be an optional functionality to flush changes to disk every 10-15
> minutes, instead of having to press $ every time

You may want to try these patches:
[PATCHv3] idle and unidle updates [1]
[PATCH] flush index on idle [2]

The first one relays the idle and unidle updates, and the second one will 
actually perform the flush when it gets an idle update.

And you may be interested in this one too:
[PATCHv5] [issue14] poll updates accumulate while idle [3]

I use these and they meet my needs.

[1]: http://rubyforge.org/pipermail/sup-devel/2010-January/000285.html
[2]: http://rubyforge.org/pipermail/sup-devel/2010-January/000274.html
[3]: http://rubyforge.org/pipermail/sup-devel/2010-January/000241.html
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-28 20:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-28 20:06 [sup-devel] [issue57] Request: Flush changes periodically Anirudh Sanjeev
2010-01-28 20:21 ` Eric Sherman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox