Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/09 16:08:48 (15 years ago)
Author:
gkronber
Message:

Fixed a bug which prevented that more than 10 jobs are dispatched concurrently. #642

Location:
trunk/sources/HeuristicLab.CEDMA.Server/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Server/3.3/Server.cs

    r2058 r2075  
    5959      get { return maxActiveJobs; }
    6060      set {
    61         if (value > 0 && value <= 64) {
     61        if (value > 0) {
    6262          maxActiveJobs = value;
     63          if (executer != null) {
     64            executer.MaxActiveJobs = value;
     65          }
    6366        }
    6467      }
     
    115118      }
    116119      executer = new GridExecuter(dispatcher, store, gridServer);
     120      executer.MaxActiveJobs = MaxActiveJobs;
    117121      executer.Start();
    118122    }
  • trunk/sources/HeuristicLab.CEDMA.Server/3.3/ServerForm.cs

    r2050 r2075  
    5959      server.Connect(address.Text);
    6060      maxActiveJobsUpDown.Enabled = true;
     61      activeJobsLabel.Enabled = true;
    6162      maxActiveJobsUpDown.Value = server.MaxActiveJobs;
    6263      connectButton.Enabled = false;
  • trunk/sources/HeuristicLab.CEDMA.Server/3.3/ServerForm.designer.cs

    r1898 r2075  
    5454      this.refreshTimer = new System.Windows.Forms.Timer(this.components);
    5555      this.maxActiveJobsUpDown = new System.Windows.Forms.NumericUpDown();
    56       this.label1 = new System.Windows.Forms.Label();
     56      this.activeJobsLabel = new System.Windows.Forms.Label();
    5757      ((System.ComponentModel.ISupportInitialize)(this.maxActiveJobsUpDown)).BeginInit();
    5858      this.SuspendLayout();
     
    8484      this.gridAddressLabel.Text = "&Grid address:";
    8585      //
    86       // gridAddress
     86      // address
    8787      //
    8888      this.address.Location = new System.Drawing.Point(106, 32);
    89       this.address.Name = "gridAddress";
     89      this.address.Name = "address";
    9090      this.address.Size = new System.Drawing.Size(160, 20);
    9191      this.address.TabIndex = 8;
     
    131131      this.maxActiveJobsUpDown.ValueChanged += new System.EventHandler(this.maxActiveJobsUpDown_ValueChanged);
    132132      //
    133       // label1
     133      // activeJobsLabel
    134134      //
    135       this.label1.AutoSize = true;
    136       this.label1.Enabled = false;
    137       this.label1.Location = new System.Drawing.Point(12, 61);
    138       this.label1.Name = "label1";
    139       this.label1.Size = new System.Drawing.Size(84, 13);
    140       this.label1.TabIndex = 13;
    141       this.label1.Text = "&Max active jobs:";
     135      this.activeJobsLabel.AutoSize = true;
     136      this.activeJobsLabel.Enabled = false;
     137      this.activeJobsLabel.Location = new System.Drawing.Point(12, 61);
     138      this.activeJobsLabel.Name = "activeJobsLabel";
     139      this.activeJobsLabel.Size = new System.Drawing.Size(84, 13);
     140      this.activeJobsLabel.TabIndex = 13;
     141      this.activeJobsLabel.Text = "&Max active jobs:";
    142142      //
    143143      // ServerForm
     
    146146      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    147147      this.ClientSize = new System.Drawing.Size(374, 342);
    148       this.Controls.Add(this.label1);
     148      this.Controls.Add(this.activeJobsLabel);
    149149      this.Controls.Add(this.maxActiveJobsUpDown);
    150150      this.Controls.Add(this.listBox);
     
    172172    private System.Windows.Forms.Timer refreshTimer;
    173173    private System.Windows.Forms.NumericUpDown maxActiveJobsUpDown;
    174     private System.Windows.Forms.Label label1;
     174    private System.Windows.Forms.Label activeJobsLabel;
    175175  }
    176176}
Note: See TracChangeset for help on using the changeset viewer.