Merge pull request #15 from crwilcox/bug/8
fix bug #8 by tying threadcount to cpu count
This commit is contained in:
Коммит
f26bdcd7f7
|
@ -29,9 +29,10 @@ from azure.common import (AzureConflictHttpError, AzureHttpError,
|
|||
from azure.storage.file import models
|
||||
from dateutil import parser
|
||||
from fuse import FUSE, FuseOSError, LoggingMixIn, Operations, fuse_get_context
|
||||
import multiprocessing
|
||||
from requests import Session
|
||||
|
||||
executor = concurrent.futures.ThreadPoolExecutor(4)
|
||||
executor = concurrent.futures.ThreadPoolExecutor(multiprocessing.cpu_count())
|
||||
|
||||
#import ptvsd
|
||||
#ptvsd.enable_attach(secret='my_secret')
|
||||
|
|
Загрузка…
Ссылка в новой задаче