Permalink
Browse files

increase timeout for live documents to 600s

  • Loading branch information...
ppurka committed Apr 2, 2013
1 parent 6b57896 commit 9a0b7a4fe8744d5046cc1eb6eaef755e30527837
Showing with 3 additions and 3 deletions.
  1. +1 −1 sagenb/notebook/notebook_object.py
  2. +2 −2 sagenb/notebook/server_conf.py
@@ -102,7 +102,7 @@ class NotebookObject:
timeout can be useful as this will free the memory used by
idle sessions.
- - ``doc_timeout`` -- integer (default: 120) seconds until idle
+ - ``doc_timeout`` -- integer (default: 600) seconds until idle
live documentation worksheet sessions automatically timeout,
i.e., the corresponding Sage session terminates.
0 means "never timeout".
@@ -14,8 +14,8 @@
defaults = {'word_wrap_cols':72,
'max_history_length':250,
- 'idle_timeout': 120,
- 'doc_timeout': 120,
+ 'idle_timeout': 120, # timeout in seconds for worksheets
+ 'doc_timeout': 600, # timeout in seconds for live docs
'idle_check_interval':360,
'save_interval':360, # seconds

0 comments on commit 9a0b7a4

Please sign in to comment.