Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
34c9c846
Commit
34c9c846
authored
Nov 21, 2013
by
Chrysostomos Nanakos
Committed by
Christos Stavrakakis
Mar 31, 2014
Browse files
pithos: Return if XSEG Object Pool exists
parent
a26fc6a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-pithos-backend/pithos/workers/glue.py
View file @
34c9c846
...
...
@@ -51,6 +51,8 @@ class WorkerGlue(object):
@
classmethod
def
setupXsegPool
(
cls
,
ObjectPool
,
Segment
,
Xseg_ctx
,
cfile
=
ArchipelagoConfFile
,
pool_size
=
8
):
if
WorkerGlue
.
ioctx_pool
is
not
None
:
return
worker_id
=
WorkerGlue
.
worker_id
WorkerGlue
.
ArchipelagoConfFile
=
ARCHIPELAGO_CONF_FILE
=
cfile
ARCHIPELAGO_SEGMENT_TYPE
=
'segdev'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment