diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-04-19 03:03:40 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-04-19 03:03:40 -0700 |
| commit | 71ffb98475d05c7e76e8c46a9525f29ef97f6228 (patch) | |
| tree | 133b4b4d5bbe685ac33334ec2e6ef759a619b71a /weed/messaging/client/publisher.go | |
| parent | d278b4c228905694a24cca2c9d08d8b8faa905bb (diff) | |
| download | seaweedfs-71ffb98475d05c7e76e8c46a9525f29ef97f6228.tar.xz seaweedfs-71ffb98475d05c7e76e8c46a9525f29ef97f6228.zip | |
broker: add profiling
Diffstat (limited to 'weed/messaging/client/publisher.go')
| -rw-r--r-- | weed/messaging/client/publisher.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/weed/messaging/client/publisher.go b/weed/messaging/client/publisher.go index d4c0f798a..238b67783 100644 --- a/weed/messaging/client/publisher.go +++ b/weed/messaging/client/publisher.go @@ -69,8 +69,7 @@ func (p *Publisher) Publish(m *messaging_pb.RawData) error { } -func (p *Publisher) Shutdown() { - - p.publishClient.CloseSend() +func (p *Publisher) Close() error { + return p.publishClient.CloseSend() } |
