Skip to content

Commit

Permalink
Tweak for sq1. We shouldn't wait 70 seconds for 7 scrambles to be gen…
Browse files Browse the repository at this point in the history
…erated. Instead, we'll only request 1 scramble at a time.
  • Loading branch information
jfly committed Jan 18, 2014
1 parent 58fb81a commit 5252936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webscrambles/WebContent/wca/scramblegen.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
// This means a round of 5 scrambles that take 10 seconds to generate will
// take 10 seconds 5 times, rather than 50 seconds 1 time.
var DEFAULT_MAX_SCRAMBLES_PER_REQUEST = 10;
var maxScramblesPerRequestByPuzzle = { '444': 1 };
var maxScramblesPerRequestByPuzzle = { '444': 1, 'sq1': 1 };

var scrambleServer = new tnoodle.Scrambler();

Expand Down

0 comments on commit 5252936

Please sign in to comment.