Skip to content

Commit

Permalink
Remove extra newline and fix indentation in README
Browse files Browse the repository at this point in the history
Removed an unnecessary newline and corrected the indentation for a comment block in the README.md file. These changes help improve the readability and formatting consistency of the document.
  • Loading branch information
dmitrymomot committed Oct 2, 2024
1 parent 15b8aa6 commit fd78b8c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
[![Go Reference](https://pkg.go.dev/badge/github.com/dmitrymomot/asyncer.svg)](https://pkg.go.dev/github.com/dmitrymomot/asyncer)
[![License](https://img.shields.io/github/license/dmitrymomot/asyncer)](https://github.com/dmitrymomot/asyncer/blob/main/LICENSE)


[![Tests](https://github.com/dmitrymomot/asyncer/actions/workflows/tests.yml/badge.svg)](https://github.com/dmitrymomot/asyncer/actions/workflows/tests.yml)
[![CodeQL Analysis](https://github.com/dmitrymomot/asyncer/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/dmitrymomot/asyncer/actions/workflows/codeql-analysis.yml)
[![GolangCI Lint](https://github.com/dmitrymomot/asyncer/actions/workflows/golangci-lint.yml/badge.svg)](https://github.com/dmitrymomot/asyncer/actions/workflows/golangci-lint.yml)
Expand Down Expand Up @@ -143,7 +142,7 @@ func main() {
// Schedule the scheduled_task_2 task to be enqueued every 5 seconds.
// The task will be enqueued only if there is no existing task with the same name in the queue.
// The task will not be retried if it fails.
// The task will be considered as timed out if it takes more than 5 seconds to process.
// The task will be considered as timed out if it takes more than 5 seconds to process.
asyncer.NewTaskScheduler("@every 5s", TestTaskName2,
asyncer.MaxRetry(0),
asyncer.Timeout(5*time.Second),
Expand Down

0 comments on commit fd78b8c

Please sign in to comment.