mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-01-30 14:35:37 +02:00
[cdc_stream] Implement stop-service command (#29)
Implements cdc_stream stop-service. Also fixes an issue in the BackgroundService implementation where Exit() would deadlock since server shutdown waits for all RPCs to exit.
This commit is contained in:
@@ -39,7 +39,7 @@ std::string GetLogPath(const char* log_dir, const char* log_base_name) {
|
||||
} // namespace
|
||||
|
||||
StartServiceCommand::StartServiceCommand(int* exit_code)
|
||||
: BaseCommand("start-service", "Start streaming service", exit_code) {}
|
||||
: BaseCommand("start-service", "Start the streaming service", exit_code) {}
|
||||
StartServiceCommand::~StartServiceCommand() = default;
|
||||
|
||||
void StartServiceCommand::RegisterCommandLineFlags(lyra::command& cmd) {
|
||||
|
||||
Reference in New Issue
Block a user