pganssle / cim

Chord Identification Method Trainer
https://pganssle.github.io/cim/
Apache License 2.0
6 stars 3 forks source link

Spawn new session if loading page after a long absence #2

Closed pganssle closed 1 year ago

pganssle commented 1 year ago

The session records the last action. The sessions should be around 2-3 minutes, so on load we should check if the last action was >20 minutes ago and spawn a new session instead of reloading the old one.

pganssle commented 1 year ago

Done in efe6660dab7a4d4aebed40414663c0d5a7aaeee6