Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🪲 Increase timeout for if_pressed programs #5678 #5680

Merged
merged 4 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions static/js/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -992,8 +992,8 @@ export function runPythonProgram(this: any, code: string, sourceMap: any, hasTur
// So: a very large limit in these levels, keep the limit on other ones.
execLimit: (function () {
const level = theLevel;
if (hasTurtle || hasMusic) {
// We don't want a timeout when using the turtle or music -> just set one for 10 minutes
if (hasTurtle || hasPressed || hasMusic) {
// We don't want a timeout when using the turtle, if_pressed or music -> just set one for 10 minutes
return (6000000);
}
if (level < 7) {
Expand Down
2 changes: 1 addition & 1 deletion static/js/appbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -120474,7 +120474,7 @@ def note_with_error(value, err):
},
execLimit: function() {
const level3 = theLevel;
if (hasTurtle || hasMusic) {
if (hasTurtle || hasPressed || hasMusic) {
return 6e6;
}
if (level3 < 7) {
Expand Down
4 changes: 2 additions & 2 deletions static/js/appbundle.js.map

Large diffs are not rendered by default.

Loading