diff options
Diffstat (limited to 'settings_file.html')
| -rwxr-xr-x | settings_file.html | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/settings_file.html b/settings_file.html index bde19a5..d8dfb1a 100755 --- a/settings_file.html +++ b/settings_file.html | |||
| @@ -64,7 +64,7 @@ | |||
| 64 | 64 | ||
| 65 | 65 | ||
| 66 | <div class="version"> | 66 | <div class="version"> |
| 67 | 0.3-rc10 | 67 | 0.3 |
| 68 | </div> | 68 | </div> |
| 69 | 69 | ||
| 70 | 70 | ||
| @@ -175,12 +175,13 @@ running. Grouping similar jobs in named queues will help you tune this number.</ | |||
| 175 | </div> | 175 | </div> |
| 176 | <div class="section" id="queues"> | 176 | <div class="section" id="queues"> |
| 177 | <h3>queues<a class="headerlink" href="#queues" title="Permalink to this headline">¶</a></h3> | 177 | <h3>queues<a class="headerlink" href="#queues" title="Permalink to this headline">¶</a></h3> |
| 178 | <p>Default: (10, default)</p> | 178 | <p>Default: [[10, “default”]]</p> |
| 179 | <p>Semi-colon seperated list of queues to process jobs for with thier | 179 | <p>Comma seperated list of queues to process jobs for with thier weights. This list |
| 180 | weights. Example: <code class="docutils literal"><span class="pre">queues=(10,</span> <span class="pre">data_process);</span> <span class="pre">(15,</span> <span class="pre">email)</span></code>. With these | 180 | must be valid JSON otherwise an error will be thrown. |
| 181 | Example: <code class="docutils literal"><span class="pre">queues=[[10,</span> <span class="pre">"data_process"],</span> <span class="pre">[15,</span> <span class="pre">"email"]]</span></code>. With these | ||
| 181 | weights and the <code class="docutils literal"><span class="pre">CONCURRENT_JOBS</span></code> setting, you should be able to tune managers | 182 | weights and the <code class="docutils literal"><span class="pre">CONCURRENT_JOBS</span></code> setting, you should be able to tune managers |
| 182 | running jobs locally pretty efficiently. If you have a larger box with a weight | 183 | running jobs locally efficiently. If you have a larger server with a weight of |
| 183 | of 50 on q1 and 8 concurrent jobs and a smaller box with a weight 30 and 4 | 184 | 50 on q1 and 8 concurrent jobs and a smaller server with a weight 30 and 4 |
| 184 | concurrent jobs, the q1 jobs will be sent to the large box until it is no longer | 185 | concurrent jobs, the q1 jobs will be sent to the large box until it is no longer |
| 185 | accepting jobs. At this point jobs will start to be sent to the next highest | 186 | accepting jobs. At this point jobs will start to be sent to the next highest |
| 186 | number until the large box is ready to accept another q1 job.</p> | 187 | number until the large box is ready to accept another q1 job.</p> |