On 8/1/07, Dan Christensen <[EMAIL PROTECTED]> wrote:
>
> The notebook seems to save a snapshot of my worksheet every 3 minutes,
> even if I'm not using the worksheet.  I often leave a few worksheets
> open for long periods of time, and these files build up and slow down my
> home directory synchronization.  Could the notebook only save a snapshot
> when the page is changed?

Yes, that's a good idea.

> And maybe the time between snapshots should
> be increased a bit?

It is configurable, but hard to configure since the web-based
configuration page *hasn't been written yet*.   Nonetheless,
you can configure things yourself on the command line as
follows:
  1. stop the sage server
  2. Example of what to do:
sage: n = load('sage_notebook/nb.sobj')
sage: c = n.conf(); c
Configuration: {'number_of_backups': 3, 'save_interval': 30,
'idle_check_interval': 30}
sage: c['save_interval'] = 200
sage: n.save()
sage: c.defaults()

{'cell_input_color': '#0000000',
 'cell_output_color': '#0000EE',
 'doc_pool_size': 128,
 'idle_check_interval': 30,
 'idle_timeout': 120,
 'max_history_length': 250,
 'number_of_backups': 3,
 'save_interval': 30,
 'word_wrap_cols': 72}
sage: c
Configuration: {'number_of_backups': 3, 'save_interval': 200,
'idle_check_interval': 30}
sage:

> Do old snapshots get deleted automatically?

Not implemented yet, but definitely planned.  Any suggestions for
the default old-delete policy?

william

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to