Skip to content

Commit

Permalink
Merge pull request #26 from pymedusa/upstream
Browse files Browse the repository at this point in the history
Upstream
  • Loading branch information
labrys committed Feb 26, 2016
2 parents 9335692 + 67d66f8 commit b716f43
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
Binary file added gui/slick/images/providers/french-adn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gui/slick/images/providers/french-adn_com.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gui/slick/images/providers/torrentshack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gui/slick/images/providers/torrentshack_me.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions sickbeard/webserve.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,12 @@
from tornado.web import RequestHandler, HTTPError, authenticated
from tornado.gen import coroutine
from tornado.ioloop import IOLoop
from tornado.concurrent import run_on_executor

from concurrent.futures import ThreadPoolExecutor
from tornado.process import cpu_count

from tornado.concurrent import run_on_executor

from mako.runtime import UNDEFINED

mako_lookup = None
Expand Down Expand Up @@ -255,7 +259,7 @@ def __init__(self, *args, **kwargs):
super(WebHandler, self).__init__(*args, **kwargs)
self.io_loop = IOLoop.current()

executor = ThreadPoolExecutor(50)
executor = ThreadPoolExecutor(cpu_count())

@authenticated
@coroutine
Expand Down

0 comments on commit b716f43

Please sign in to comment.