Revision be433794 snf-pithos-backend/pithos/backends/__init__.py
b/snf-pithos-backend/pithos/backends/__init__.py | ||
---|---|---|
33 | 33 |
|
34 | 34 |
import warnings |
35 | 35 |
|
36 |
from pithos.workers import glue |
|
37 |
from archipelago.common import Segment, Xseg_ctx |
|
38 |
from objpool import ObjectPool |
|
39 |
from synnefo.settings import BACKEND_ARCHIPELAGO_CONF as cfile |
|
40 |
|
|
41 |
|
|
42 |
glue.WorkerGlue.setupXsegPool(ObjectPool, Segment, Xseg_ctx, cfile, |
|
43 |
pool_size=8) |
|
44 |
|
|
45 | 36 |
|
46 | 37 |
def connect_backend(**kwargs): |
47 | 38 |
from pithos.backends.modular import ModularBackend |
Also available in: Unified diff