sapling/eden
Youssef Ibrahim 56833294b0 don't drop MononokeApp in wait_until_terminated before termination signal to avoid dropping ConfigHandle
Summary:
When MononokeApp is dropped, the ConfigHandle inside of it gets dropped, and the config updater thread stops receiving updates causing config hot reloading to stop working. This was happening in scs, the land service, and the derived data service (not sure if this is also happening in Mononoke server).
This diff adds an explicit drop in the server closure in wait_until_terminated to make sure MononokeApp is not dropped before receiving a termination signal.

Reviewed By: Croohand

Differential Revision: D44206206

fbshipit-source-id: 7322f516c0dcbf4668cba811bdb582f0e5e2f11c
2023-03-20 06:54:27 -07:00
..
fs graphql-parser: use upstream rev 2023-03-18 14:44:48 -07:00
integration inodes: recover from corrupted sqlite database 2023-03-17 21:38:48 -07:00
locale
mononoke don't drop MononokeApp in wait_until_terminated before termination signal to avoid dropping ConfigHandle 2023-03-20 06:54:27 -07:00
scm remotefilelog: don't prefetch file history when diffing 2023-03-17 13:22:24 -07:00
test_support Enable StartFakeEdenFSTest 2023-03-14 13:25:16 -07:00
test-data test-data: remove snapshot 20190313 2022-02-04 13:50:48 -08:00
testlib ui: don't default username to <user>@<fqdn> 2023-03-02 22:10:45 -08:00
.clang-tidy clang-tidy: disable facebook-hte-ContextDependentStaticInit 2022-11-04 15:33:50 -07:00
.gitignore
.mononoke_test_file test push 2022-01-06 05:57:35 -08:00
Eden.project.toml