Skip to content

Commit

Permalink
Revert ServiceName changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystal Lemire committed Nov 23, 2023
1 parent b05ea0f commit aa7e502
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
5 changes: 0 additions & 5 deletions protocol/daemons/bridge/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ func NewClient(logger log.Logger) *Client {
}
}

// ServiceName returns the name of the bridge daemon service.
func (c *Client) ServiceName() string {
return constants.BridgeDaemonModuleName
}

// Start begins a job that periodically runs the RunBridgeDaemonTaskLoop function.
func (c *Client) Start(
ctx context.Context,
Expand Down
5 changes: 0 additions & 5 deletions protocol/daemons/liquidation/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ func NewClient(logger log.Logger) *Client {
}
}

// ServiceName returns the name of the liquidations daemon service.
func (c *Client) ServiceName() string {
return types.LiquidationsDaemonServiceName
}

// Start begins a job that periodically:
// 1) Queries a gRPC server for all subaccounts including their open positions.
// 2) Checks collateralization statuses of subaccounts with at least one open position.
Expand Down
5 changes: 0 additions & 5 deletions protocol/daemons/pricefeed/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ func newClient(logger log.Logger) *Client {
return client
}

// ServiceName returns the name of the pricefeed daemon service.
func (c *Client) ServiceName() string {
return constants.PricefeedDaemonModuleName
}

// newTickerWithStop creates a new ticker and a channel for iteratively looping through a subtask with a stop signal
// for any subtask kicked off by the client. The ticker and channel are tracked in order to properly clean up and send
// all needed stop signals when the daemon is stopped.
Expand Down

0 comments on commit aa7e502

Please sign in to comment.