mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-03 05:31:10 +00:00
⚡ Add a grace period of a second before calling Hub endpoints
This commit is contained in:
parent
ac9298d681
commit
37f615c9bb
@ -426,7 +426,10 @@ func postHubStarted(ctx context.Context, kubernetesProvider *kubernetes.Provider
|
||||
log.Error().Err(err).Send()
|
||||
}
|
||||
|
||||
// Storage Limit
|
||||
// Grace period
|
||||
time.Sleep(time.Second)
|
||||
|
||||
// Storage limit
|
||||
connector.PostStorageLimitToHub(config.Config.Tap.StorageLimitBytes())
|
||||
|
||||
// Pod regex
|
||||
|
Loading…
Reference in New Issue
Block a user