Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/frontend/course/consts.ts
1503 views
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