Skip to content

Commit 314635d

Browse files
author
Mostafa Eweda
committed
Disable requirejs load timeout that frequently causes errros on slow connections: default was 7 seconds only !
1 parent 1302185 commit 314635d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins-server/cloud9.core/ide-plugin.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ module.exports = function setup(options, imports, register) {
6262
name: options.name || workspaceId,
6363
version: options.version || null,
6464
requirejsConfig: {
65+
// http://requirejs.org/docs/api.html#config-waitSeconds
66+
waitSeconds: 0, // disable timeout for slow connections
6567
baseUrl: staticPrefix,
6668
paths: imports.static.getRequireJsPaths(),
6769
packages: imports.static.getRequireJsPackages()

0 commit comments

Comments
 (0)