Skip to content

Commit

Permalink
Syncer: Only farcaster is allowed to terminate
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCharlatan committed Jun 16, 2022
1 parent 9f46ef8 commit 83cf816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syncerd/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ impl Runtime {
notify_cli = Some((Some(source), resp));
}

(Request::Terminate, _) => {
(Request::Terminate, ServiceId::Farcasterd) => {
// terminate all runtimes
info!("Received terminate on {}", self.identity());
std::process::exit(0);
Expand Down

0 comments on commit 83cf816

Please sign in to comment.