Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3-blockstore
Commits
c12d54cb
Commit
c12d54cb
authored
Jul 10, 2016
by
Kevin Atkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase channel buffer size in blockstore.AllKeysChan().
License: MIT Signed-off-by:
Kevin Atkinson
<
k@kevina.org
>
parent
aa8ea8f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
blockstore.go
blockstore.go
+1
-1
No files found.
blockstore.go
View file @
c12d54cb
...
...
@@ -196,7 +196,7 @@ func (bs *blockstore) AllKeysChan(ctx context.Context) (<-chan key.Key, error) {
}
}
output
:=
make
(
chan
key
.
Key
)
output
:=
make
(
chan
key
.
Key
,
dsq
.
KeysOnlyBufSize
)
go
func
()
{
defer
func
()
{
res
.
Process
()
.
Close
()
// ensure exit (signals early exit, too)
...
...
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