Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
dff5f939
Commit
dff5f939
authored
May 28, 2003
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge disabling of low conflict connection from 2.6 branch.
parent
ab64097b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
lib/python/Products/TemporaryFolder/TemporaryFolder.py
lib/python/Products/TemporaryFolder/TemporaryFolder.py
+7
-3
No files found.
lib/python/Products/TemporaryFolder/TemporaryFolder.py
View file @
dff5f939
...
...
@@ -22,9 +22,9 @@ lives in another ZODB.
To understand this fully, you'll need to read the source of
ZODB.Mount.MountPoint.
$Id: TemporaryFolder.py,v 1.
7 2002/08/14 22:25:13 mj
Exp $
$Id: TemporaryFolder.py,v 1.
8 2003/05/28 15:28:27 chrism
Exp $
"""
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
import
Globals
from
Globals
import
HTMLFile
...
...
@@ -69,7 +69,11 @@ class MountedTemporaryFolder(MountPoint, OFS.SimpleItem.Item):
def
_createDB
(
self
,
db
=
None
):
# huh? db=db was original
""" Create a mounted RAM database """
db
=
DB
(
TemporaryStorage
())
db
.
klass
=
LowConflictConnection
# the connection in 2.5.X - 2.6.1 was a "low conflict connection",
# but this caused synchronization problems. For 2.6.2, we want
# to reenable read conflict errors, so we use a default connection
# type.
#db.klass = LowConflictConnection
return
db
def
_getMountRoot
(
self
,
root
):
...
...
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