Skip to content

Commit edfa355

Browse files
authored
Restore air delay of 1000ms (#24290)
air-verse/air#343 has changed air's default `delay` from 1000 to 0 and since then, while switching git branches, I notice air starting off multiple parallel build, essentially overloading my machine. Restore previous value of 1000. ```` building... routers/web/org/setting_secrets.go has changed routers/web/org/teams.go has changed building... routers/web/org/teams.go has changed routers/web/repo/setting_secrets.go has changed building... routers/web/org/setting_secrets.go has changed routers/web/repo/setting_secrets.go has changed building... routers/web/shared/secrets/secrets.go has changed routers/web/repo/view.go has changed building... routers/web/repo/view.go has changed routers/web/user/setting/secrets.go has changed building... routers/web/shared/secrets/secrets.go has changed routers/web/user/setting/secrets.go has changed building... routers/web/web.go has changed routers/web/web.go has changed building... services/wiki/wiki_path.go has changed services/wiki/wiki_path.go has changed building... ... Running go generate... Running go generate... Running go generate... Running go generate... Running go generate... Running go generate... Running go generate... Running go generate... Running go generate... Running go generate... Running go generate... Running go generate... Running go generate... Running go generate... Running go generate... ```
1 parent 066af37 commit edfa355

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.air.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ tmp_dir = ".air"
44
[build]
55
cmd = "make backend"
66
bin = "gitea"
7+
delay = 1000
78
include_ext = ["go", "tmpl"]
89
include_file = ["main.go"]
910
include_dir = ["cmd", "models", "modules", "options", "routers", "services"]

0 commit comments

Comments
 (0)