title: I'm getting a --run-time error while using locust distributed load (local)
body: <p>Hello I was following this tutorial:
  <a href="https://youtu.be/FDYD2inSSPY?list=PLJ9A48W0kpRKMCzJARCObgJs3SinOewp5" rel="nofollow noreferrer">https://youtu.be/FDYD2inSSPY?list=PLJ9A48W0kpRKMCzJARCObgJs3SinOewp5</a></p>
  <p>I recreated his steps:
  First I created two config files:</p>
  <p><em>master.conf</em></p>
  <pre><code>[master conf]
  master = true
  expect-workers = 1
  
  [runtime settings]
  host = https://petstore.octoperf.com
  users = 3
  spawn-rate = 2
  locustfile = petstore.py
  run-time = 30s
  headless = true
  only-summary = true
  </code></pre>
  <p><em>worker.conf</em></p>
  <pre><code>[worker conf]
  worker = true
  locustfile = petstore.py
  </code></pre>
  <p>I then proceed to run this two instructions in different terminals:
  <code>locust --config=master.conf</code> and <code>locust --config=worker.conf</code></p>
  <p>The first one didn't create a problem, the second one showed this error:</p>
  <p><code>*/ERROR/locust.main: --run-time should be specified on the master node, and not on worker nodes</code></p>
  <p>But as you can see the --run-time configuration is in the master.conf not in the worker.conf</p>
  <p>I search in the locust documentation but I didn't find anything on this particular topic.</p>