The new endpoint `/config/reload` will refresh the
environment variables.
There are a bunch of env-vars which will not be reloaded
for e.g. HTTP_PORT etc. these will need a restart.
---------
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
## Implement
- [x] Implement file_list API for gRPC
- [x] Debuging deadlock issue
## Todo
- [ ] Querier should use the file_list API for search
---------
Co-authored-by: oasisk <ashish.j.kolhe@gmail.com>
These print statements tell Cargo that it needs to rerun the build
script if either `build.rs` was modified or any of the files in `proto/`
directory was changed.
Without these print statements Cargo doesn't notice edits of *.proto
files.
### Before
1. Developer executes cargo check/clippy/run/build
2. Developer edits a *.proto file
3. Developer tries to check/clippy/run/build again
4. No recompilation happens — *bad*
### After
1–3. ...same...
4. Code is recompiled — *good*