Add a grace period of a second before calling Hub endpoints

This commit is contained in:
M. Mert Yildiran 2023-02-07 12:44:32 +03:00
parent ac9298d681
commit 37f615c9bb
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461

View File

@ -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