From 144739e9be874c220863df20b373c2aa42e70a2a Mon Sep 17 00:00:00 2001 From: Ketan Umare Date: Fri, 5 Apr 2024 11:36:04 -0700 Subject: [PATCH] updated ratelimiter Signed-off-by: Ketan Umare --- flyteplugins/go/tasks/pluginmachinery/internal/webapi/cache.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flyteplugins/go/tasks/pluginmachinery/internal/webapi/cache.go b/flyteplugins/go/tasks/pluginmachinery/internal/webapi/cache.go index 8b0b49e993..b13070534e 100644 --- a/flyteplugins/go/tasks/pluginmachinery/internal/webapi/cache.go +++ b/flyteplugins/go/tasks/pluginmachinery/internal/webapi/cache.go @@ -2,9 +2,10 @@ package webapi import ( "context" + "time" + "golang.org/x/time/rate" "k8s.io/client-go/util/workqueue" - "time" "github.com/flyteorg/flyte/flyteplugins/go/tasks/errors" "github.com/flyteorg/flyte/flyteplugins/go/tasks/pluginmachinery/core"