Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
MKCLOS
Core Development Platform
corepkgv2
Commits
ccb56eb4
Commit
ccb56eb4
authored
2 years ago
by
Prajwal Patil
Browse files
Options
Downloads
Patches
Plain Diff
dgraph_best_effort_remove
parent
5167ea43
Branches
corepkgv2-dgraph-prajwalp
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dalmdl/dgraph/dgraph.go
+2
-2
dalmdl/dgraph/dgraph.go
with
2 additions
and
2 deletions
dalmdl/dgraph/dgraph.go
+
2
−
2
View file @
ccb56eb4
...
...
@@ -185,8 +185,8 @@ func GetTransaction(hostName string) (*dgo.Txn, error) {
//
// The result is against the provided key in the query.
func
(
dg
*
DGraphDAO
)
GetData
(
ctx
context
.
Context
,
query
string
,
vars
map
[
string
]
string
)
([]
byte
,
error
)
{
txn
:=
dg
.
instance
.
client
.
NewReadOnlyTxn
()
.
BestEffort
()
//txn := dg.instance.client.NewReadOnlyTxn().BestEfforts()
txn
:=
dg
.
instance
.
client
.
NewReadOnlyTxn
()
var
(
res
*
api
.
Response
err
error
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets