]> source.dussan.org Git - gitea.git/commit
Kill all gitea processes before air build (#30477)
authorsilverwind <me@silverwind.io>
Mon, 15 Apr 2024 08:24:36 +0000 (10:24 +0200)
committerGitHub <noreply@github.com>
Mon, 15 Apr 2024 08:24:36 +0000 (08:24 +0000)
commit994920c677b04a720726d982e4d6212664b82a43
treec8e8361b51dfd3c9d6bb9315cafd7654c7b55423
parent708e87e17df2b6a03eca3cac026a51beed296b5b
Kill all gitea processes before air build (#30477)

So it happened to me multiple times that air leaves zombie processes
after termination. I think ultimately it's some kind of bug in air, but
we can work around.

The change in the delay is unrelated to the zombie processes but seems
to help a bit with duplicate changes resulting in duplicate `make
generate` as seen here:

<img width="424" alt="Screenshot 2024-04-14 at 17 05 47"
src="https://github.com/go-gitea/gitea/assets/115237/6dd1d787-6be3-4fb2-8b0b-cd711c281793">

---------

Co-authored-by: delvh <dev.lh@web.de>
.air.toml