Skip to content

Commit

Permalink
remove unused funcs in tss_options.go
Browse files Browse the repository at this point in the history
  • Loading branch information
gouthamp-stellar committed Oct 29, 2024
1 parent 70deac5 commit bf2bebc
Showing 1 changed file with 0 additions and 44 deletions.
44 changes: 0 additions & 44 deletions cmd/utils/tss_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,47 +160,3 @@ func WebhookHandlerChannelMinWaitBtwnRetriesMSOption(configKey *int) *config.Con
Required: true,
}
}

func WebhookHandlerServiceChannelMaxBufferSizeOption(configKey *int) *config.ConfigOption {
return &config.ConfigOption{
Name: "webhook-service-channel-max-buffer-size",
Usage: "Set the buffer size of the webhook serive channel.",
OptType: types.Int,
ConfigKey: configKey,
FlagDefault: 100,
Required: true,
}
}

func WebhookHandlerServiceChannelMaxWorkersOptions(configKey *int) *config.ConfigOption {
return &config.ConfigOption{
Name: "webhook-service-channel-max-workers",
Usage: "Set the max number of workers for the webhook serive channel.",
OptType: types.Int,
ConfigKey: configKey,
FlagDefault: 10,
Required: true,
}
}

func WebhookHandlerServiceChannelMaxRetriesOption(configKey *int) *config.ConfigOption {
return &config.ConfigOption{
Name: "webhook-service-channel-max-retries",
Usage: "Set the max number of times to ping a webhook before quitting.",
OptType: types.Int,
ConfigKey: configKey,
FlagDefault: 3,
Required: true,
}
}

func WebhookHandlerServiceChannelMinWaitBtwnRetriesMSOption(configKey *int) *config.ConfigOption {
return &config.ConfigOption{
Name: "webhook-service-channel-min-wait-between-retries",
Usage: "The minumum amout of time to wait before resending the payload to the webhook url",
OptType: types.Int,
ConfigKey: configKey,
FlagDefault: 10,
Required: true,
}
}

0 comments on commit bf2bebc

Please sign in to comment.