authelia/internal/commands
James Elliott f44700c352
fix(commands): internal services not cleaned up properly (#4966)
This fixes a race condition which in some circumstances (seemed to only affect a deliberately under provisioned VM in testing, however it could still theoretically occur on any system) can cause the process to hang during a shutdown. While unrelated this also adds additional trace logging to the shutdown process to better capture each stage to better facilitate debugging in the future specifically when one particular service is taking time to stop.

Fixes #4963
2023-02-20 16:37:22 +11:00
..
acl.go refactor(commands): command context (#4539) 2022-12-22 11:21:29 +11:00
build-info.go refactor(commands): command context (#4539) 2022-12-22 11:21:29 +11:00
const.go fix(commands): internal services not cleaned up properly (#4966) 2023-02-20 16:37:22 +11:00
context.go refactor(commands): services (#4914) 2023-02-11 21:45:26 +11:00
crypto.go refactor(commands): x509 bundling (#4942) 2023-02-17 14:29:07 +11:00
crypto_hash.go feat(commands): storage import/export commands (#4545) 2022-12-23 15:00:23 +11:00
crypto_helper.go refactor(commands): x509 bundling (#4942) 2023-02-17 14:29:07 +11:00
errors.go refactor(commands): command context (#4539) 2022-12-22 11:21:29 +11:00
helpers.go refactor(commands): command context (#4539) 2022-12-22 11:21:29 +11:00
helpers_test.go refactor(commands): command context (#4539) 2022-12-22 11:21:29 +11:00
root.go refactor(commands): services (#4914) 2023-02-11 21:45:26 +11:00
services.go fix(commands): internal services not cleaned up properly (#4966) 2023-02-20 16:37:22 +11:00
storage.go feat(commands): storage import/export commands (#4545) 2022-12-23 15:00:23 +11:00
storage_run.go refactor(random): add random provider (#4712) 2023-01-07 11:19:41 +11:00
util.go refactor(random): add random provider (#4712) 2023-01-07 11:19:41 +11:00
util_test.go test: use test machinery to set env vars in tests (#4640) 2022-12-26 07:16:05 +11:00
validate.go refactor(commands): command context (#4539) 2022-12-22 11:21:29 +11:00