We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7af7eac commit 0fd59f1Copy full SHA for 0fd59f1
src/packages/project/nats/terminal.ts
@@ -45,13 +45,13 @@ const HISTORY_LIMIT_BYTES = parseInt(
45
46
// Limit number of MB/s in data:
47
const MAX_BYTES_PER_SECOND = parseInt(
48
- process.env.COCALC_TERMINAL_MAX_BYTES_PER_SECOND ?? "2000000",
+ process.env.COCALC_TERMINAL_MAX_BYTES_PER_SECOND ?? "500000",
49
);
50
51
// Limit number of messages per second (not doing this makes it easy
52
// to cause trouble to the server)
53
const MAX_MSGS_PER_SECOND = parseInt(
54
- process.env.COCALC_TERMINAL_MAX_MSGS_PER_SECOND ?? "250",
+ process.env.COCALC_TERMINAL_MAX_MSGS_PER_SECOND ?? "100",
55
56
57
const sessions: { [path: string]: Session } = {};
0 commit comments