MM-43084 update product limits through webhook and websocket (#20076)
* Define interfaces for updating subscriptions and product limits from CWS webhook.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c7fe5e9aab
Коммит
6f87eb67fc
@@ -206,3 +206,9 @@ func (hooks *hooksTimerLayer) OnSendDailyTelemetry() {
|
||||
hooks.hooksImpl.OnSendDailyTelemetry()
|
||||
hooks.recordTime(startTime, "OnSendDailyTelemetry", true)
|
||||
}
|
||||
|
||||
func (hooks *hooksTimerLayer) OnCloudLimitsUpdated(limits *model.ProductLimits) {
|
||||
startTime := timePkg.Now()
|
||||
hooks.hooksImpl.OnCloudLimitsUpdated(limits)
|
||||
hooks.recordTime(startTime, "OnCloudLimitsUpdated", true)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user