Skip to content

Make hook status printing configurable with delay (#9641)#9725

Merged
zeripath merged 2 commits into
go-gitea:release/v1.11from
zeripath:backport-9641
Jan 12, 2020
Merged

Make hook status printing configurable with delay (#9641)#9725
zeripath merged 2 commits into
go-gitea:release/v1.11from
zeripath:backport-9641

Conversation

@zeripath
Copy link
Copy Markdown
Contributor

  • Delay printing hook statuses until after 1 second
  • Move to a 5s delay, wrapped writer structure and add config

* Delay printing hook statuses until after 1 second

* Move to a 5s delay, wrapped writer structure and add config

* Update cmd/hook.go

* Apply suggestions from code review

* Update cmd/hook.go

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
@zeripath zeripath added this to the 1.11.0 milestone Jan 12, 2020
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jan 12, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jan 12, 2020
@zeripath zeripath merged commit 4072f28 into go-gitea:release/v1.11 Jan 12, 2020
@zeripath zeripath deleted the backport-9641 branch January 12, 2020 18:02
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants