Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
5aa4c348
Commit
5aa4c348
authored
Sep 19, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the default for pack() synchronous.
parent
0b9bb581
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/ZEO/ClientStorage.py
src/ZEO/ClientStorage.py
+2
-2
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+1
-1
No files found.
src/ZEO/ClientStorage.py
View file @
5aa4c348
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
##############################################################################
##############################################################################
"""Network ZODB storage client
"""Network ZODB storage client
$Id: ClientStorage.py,v 1.6
2 2002/09/19 03:51:22
gvanrossum Exp $
$Id: ClientStorage.py,v 1.6
3 2002/09/19 19:15:48
gvanrossum Exp $
"""
"""
# XXX TO DO
# XXX TO DO
...
@@ -337,7 +337,7 @@ class ClientStorage:
...
@@ -337,7 +337,7 @@ class ClientStorage:
finally
:
finally
:
self
.
_oid_lock
.
release
()
self
.
_oid_lock
.
release
()
def
pack
(
self
,
t
=
None
,
rf
=
None
,
wait
=
0
,
days
=
0
):
def
pack
(
self
,
t
=
None
,
rf
=
None
,
wait
=
1
,
days
=
0
):
# XXX Is it okay that read-only connections allow pack()?
# XXX Is it okay that read-only connections allow pack()?
# rf argument ignored; server will provide it's own implementation
# rf argument ignored; server will provide it's own implementation
if
t
is
None
:
if
t
is
None
:
...
...
src/ZEO/StorageServer.py
View file @
5aa4c348
...
@@ -249,7 +249,7 @@ class ZEOStorage:
...
@@ -249,7 +249,7 @@ class ZEOStorage:
def
endZeoVerify
(
self
):
def
endZeoVerify
(
self
):
self
.
client
.
endVerify
()
self
.
client
.
endVerify
()
def
pack
(
self
,
time
,
wait
=
0
):
def
pack
(
self
,
time
,
wait
=
1
):
if
wait
:
if
wait
:
return
run_in_thread
(
self
.
pack_impl
,
time
)
return
run_in_thread
(
self
.
pack_impl
,
time
)
else
:
else
:
...
...
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