Skip to content

Commit

Permalink
Increase command queue size to 20.
Browse files Browse the repository at this point in the history
  • Loading branch information
highperformancecoder committed Jan 17, 2024
1 parent 22b0865 commit 564e057
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion RESTService/addon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ namespace minsky
if (syncPos!=string::npos && syncPos==command.size()-12)
return String::New(env, utf_to_utf<char16_t>(doCommand(command, arguments)));
#endif
if (minskyCommands.size()>10)
if (minskyCommands.size()>20)
{
if (!inputBufferExceeded) setBusyCursor();
inputBufferExceeded=true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ export class CreateVariableComponent implements OnInit, OnDestroy {
shortDescription: new FormControl(''),
detailedDescription: new FormControl(''),
enableSlider: new FormControl(true),
sliderBoundsMax: new FormControl(null),
sliderBoundsMin: new FormControl(null),
sliderStepSize: new FormControl(null),
sliderBoundsMax: new FormControl(1),
sliderBoundsMin: new FormControl(-1),
sliderStepSize: new FormControl(0.1),
sliderStepRel: new FormControl(false),
});

Expand Down Expand Up @@ -181,6 +181,7 @@ export class CreateVariableComponent implements OnInit, OnDestroy {
item.enableSlider(this.enableSlider.value);
if (typeof this.sliderBoundsMax.value=='number') item.sliderMax(this.sliderBoundsMax.value);
if (typeof this.sliderBoundsMin.value=='number') item.sliderMin(this.sliderBoundsMin.value);
this.electronService.log(typeof this.sliderStepSize.value);
if (typeof this.sliderStepSize.value=='number') item.sliderStep(this.sliderStepSize.value);
item.sliderStepRel(this.sliderStepRel.value);
this.closeWindow();
Expand Down

0 comments on commit 564e057

Please sign in to comment.