Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishapi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishapi
Commits
7fd59f69
Commit
7fd59f69
authored
Aug 21, 2018
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc fixes.
parent
cb971b59
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
log.go
pkg/log/log.go
+3
-5
No files found.
pkg/log/log.go
View file @
7fd59f69
...
@@ -585,8 +585,7 @@ const (
...
@@ -585,8 +585,7 @@ const (
More
=
Status
(
C
.
vsl_more
+
1
)
More
=
Status
(
C
.
vsl_more
+
1
)
// Stopped indicates that the read handler has returned false,
// Stopped indicates that the read handler has returned false,
// to stop log reads, or that the read goroutine was stopped
// to stop log reads.
// by Log.Release().
Stopped
=
More
+
1
Stopped
=
More
+
1
)
)
...
@@ -663,9 +662,8 @@ type ReadHandler func([]Tx, Status) bool
...
@@ -663,9 +662,8 @@ type ReadHandler func([]Tx, Status) bool
//
//
// If you use your own implementation of an EOLHandler, it is strongly
// If you use your own implementation of an EOLHandler, it is strongly
// recommended to pause for a brief time (for example with
// recommended to pause for a brief time (for example with
// Time.sleep). Otherwise, the goroutine can become a busy-wait loop
// Time.sleep). Otherwise, Read can become a busy-wait loop while
// while there are no new log transactions, with heavy CPU
// there are no new log transactions, with heavy CPU consumption.
// consumption.
//
//
// If the Log is reading from a binary log file, then there is never
// If the Log is reading from a binary log file, then there is never
// an end-of-log condition -- the log read ends with status EOF. So no
// an end-of-log condition -- the log read ends with status EOF. So no
...
...
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