Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rpcs/ledgerService.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (ls *LedgerService) Stop() {
}
}

// ServerHTTP returns ledgers for a particular round
// ServeHTTP returns ledgers for a particular round
// Either /v{version}/{genesisID}/ledger/{round} or ?r={round}&v={version}
// Uses gorilla/mux for path argument parsing.
func (ls *LedgerService) ServeHTTP(response http.ResponseWriter, request *http.Request) {
Expand Down
2 changes: 1 addition & 1 deletion util/execpool/backlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (b *backlog) BufferSize() (length, capacity int) {
return len(b.buffer), cap(b.buffer)
}

// Enqueue enqueues a single task into the backlog
// EnqueueBacklog enqueues a single task into the backlog
func (b *backlog) EnqueueBacklog(enqueueCtx context.Context, t ExecFunc, arg interface{}, out chan interface{}) error {
select {
case b.buffer <- backlogItemTask{
Expand Down