Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
85a829ac
Commit
85a829ac
authored
Aug 08, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4ad82b28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
go/zodb/connection.go
go/zodb/connection.go
+2
-6
go/zodb/db.go
go/zodb/db.go
+1
-1
No files found.
go/zodb/connection.go
View file @
85a829ac
...
@@ -35,15 +35,11 @@ import (
...
@@ -35,15 +35,11 @@ import (
//
//
// The view is represented by IPersistent objects associated with the connection.
// The view is represented by IPersistent objects associated with the connection.
// Connection changes are private and are isolated from changes in other Connections.
// Connection changes are private and are isolated from changes in other Connections.
//
// Connection's view corresponds to particular database state and is thus
// The view corresponds to particular database state and is thus isolated from
// isolated from further database transactions.
// further database transactions.
//
//
//
// Connection is safe to access from multiple goroutines simultaneously.
// Connection is safe to access from multiple goroutines simultaneously.
//
//
// XXX ^^^ modifications?
//
// Connection and objects obtained from it must be used by application only
// Connection and objects obtained from it must be used by application only
// inside transaction where Connection was opened.
// inside transaction where Connection was opened.
//
//
...
...
go/zodb/db.go
View file @
85a829ac
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
// See https://www.nexedi.com/licensing for rationale and options.
// See https://www.nexedi.com/licensing for rationale and options.
package
zodb
package
zodb
// application-level database
connection
.
// application-level database
handle
.
import
(
import
(
"context"
"context"
...
...
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