title: APScheduler doesn't work with UWSGI
body: <p>I'm using Django 1.8 and APScheduler to run workers on certain intervals. It works perfectly with Django's development server (e.g. <code>./manage.py runserver</code>) but when I setup the project with UWSGI and <code>master=true</code>, the UWSGI worker can't get any requests from Nginx and browser shows <code>504 Gateway Timed-out</code> error after 1-2min loading.</p>
  
  <p>When I change it to <code>master=false</code> everything is fine.</p>
  
  <p>Here is my UWSGI config:</p>
  
  <pre><code>[uwsgi]
  chdir             = /var/www/projectname/backend/projectname
  module         = projectname.wsgi:application
  wsgi-file        = /var/www/projectname/backend/projectname/projectname/wsgi.py
  uid                = root
  gid                = root
  virtualenv     = /var/www/venv/
  master          = false
  processes    = 4
  socket          = :8080
  logto             = /var/www/projectname/log/uwsgi.log
  env               = DJANGO_SETTINGS_MODULE=projectname.settings
  enable-threads = true
  </code></pre>
  
  <p>Please note that I'm using Django's AppConfig to run the scheduler once. Is there any problem with my UWSGI config or it's because of Django?</p>