summaryrefslogtreecommitdiff
path: root/internal/run.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-06-10 12:18:55 +0300
committerPaul Buetow <paul@buetow.org>2023-06-10 12:18:55 +0300
commiteaf6bae9f8b493b01be5182c6285bc20887bd5de (patch)
tree672391ba7d4fa5b16e771c2751bd2add06f0d5d3 /internal/run.go
parent1488d0a841443fe622e41148dad89298ece1603d (diff)
initial tcp client
Diffstat (limited to 'internal/run.go')
-rw-r--r--internal/run.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/run.go b/internal/run.go
index 9b9df1d..b069472 100644
--- a/internal/run.go
+++ b/internal/run.go
@@ -20,5 +20,6 @@ func Run(ctx context.Context, configFile string) error {
server.Start(ctx, conf, quo)
client.Start(ctx, conf, liveNodesCh)
+ <-ctx.Done()
return nil
}