Seaside Timeout

When one has a editor open in pier for more than a few minutes, when one saves, the page will return to the previous state. A solution to this is provided here, the code is:

(WAApplication allInstances detect: [:e | e name = 'pier'])  cache expiryPolicy configuration at: #cacheTimeout
  put: 25 minutes asSeconds.

Before one changes this to a very large value, consider the following:

  • Storing sessions for longer takes more memory and space, and can slow the system down
  • Having editors open for longer increases the chances of an edit-conflict
  • Several small, quick edits are better than one large edit - see also Painting Tool