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
18e7f0c4
Commit
18e7f0c4
authored
Dec 26, 2014
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid overwrapping due to 'pprint' changes in Python 3.4.
parent
ef7d9fd2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/ZEO/tests/testZEO.py
src/ZEO/tests/testZEO.py
+1
-1
src/ZEO/tests/testZEO2.py
src/ZEO/tests/testZEO2.py
+1
-1
No files found.
src/ZEO/tests/testZEO.py
View file @
18e7f0c4
...
...
@@ -1300,7 +1300,7 @@ def test_server_status():
>>> addr, _ = start_server(zeo_conf=dict(transaction_timeout=1))
>>> db = ZEO.DB(addr)
>>> import pprint
>>> pprint.pprint(db.storage.server_status(), width=
1
)
>>> pprint.pprint(db.storage.server_status(), width=
40
)
{'aborts': 0,
'active_txns': 0,
'commits': 1,
...
...
src/ZEO/tests/testZEO2.py
View file @
18e7f0c4
...
...
@@ -337,7 +337,7 @@ release the lock and one of the waiting clients will get the lock.
We can find out about the current lock state, and get other server
statistics using the server_status method:
>>> pprint.pprint(zs1.server_status(), width=
1
)
>>> pprint.pprint(zs1.server_status(), width=
40
)
{'aborts': 3,
'active_txns': 10,
'commits': 0,
...
...
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