berkeley-dsep-infra / jupyterhub-k8s

[Deprecated] Data 8's deployment of JupyterHub on Kubernetes
Apache License 2.0
34 stars 17 forks source link

Fix auto-syncing on nbgdirve #88

Closed SaladRaider closed 7 years ago

SaladRaider commented 7 years ago

Right now nbgdrive checks whether or not it needs to auto-sync by using client-side javascript code that checks if it is 3AM, which causes it to only auto-sync at 3AM if a user is on a notebook at that exact moment.

Some options to fix this:

  1. Have nbgdrive auto-sync using a smaller interval (like every 1 minute)
  2. Have nbgdrive auto-sync whenever a user saves a notebook.
  3. Open to more ideas?