We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15fcceb commit 9eb9dbbCopy full SHA for 9eb9dbb
qiita_ware/context.py
@@ -60,6 +60,14 @@ class Dispatch(object):
60
def __init__(self):
61
from moi import ctx_default
62
self.demo = Client(profile=ctx_default)
63
+
64
+ # checking that at least 2 workers exist, see:
65
+ # https://github.com/biocore/qiita/issues/1066
66
+ workers = len(self.demo.ids)
67
+ if workers < 2:
68
+ raise ValueError('You need to have at least 2 IPython workers '
69
+ 'but you have %d' % workers)
70
71
self.demo_lview = self.demo.load_balanced_view()
72
73
def sync(self, data):
0 commit comments