Revision a1557c9c 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 pithos.api.settings import BACKEND_ARCHIPELAGO_CONF as cfile |
|
40 |
|
|
41 |
glue.WorkerGlue.setupXsegPool(ObjectPool, Segment, Xseg_ctx, cfile, |
|
42 |
pool_size=8) |
|
43 |
|
|
36 | 44 |
|
37 | 45 |
def connect_backend(**kwargs): |
38 | 46 |
from pithos.backends.modular import ModularBackend |
Also available in: Unified diff