The docs are a big help. For developent purposes, I've set the infinite timeout (it's a pain to have things disappear while you ponder problems); in production we'll set things to 60 minutes or so.