CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/frontend/course/consts.ts
Views: 687
1
// All copy operations (e.g., assigning, collecting, etc.) is set to timeout after this long.
2
// Also in the UI displaying that a copy is ongoing also times out after this long, e.g, if
3
// the user refreshes their browser and nothing is going to update things again.
4
// TODO: make this a configurable parameter, e.g., maybe users have very large assignments
5
// or things are very slow.
6
export const COPY_TIMEOUT_MS = 2 * 60 * 1000; // 2 minutes, for now -- starting project can take time.
7
8