Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for initLicenseUpdateJob (0.23 sec)

  1. cmd/license-update.go

    	"math/rand"
    	"time"
    
    	"github.com/tidwall/gjson"
    )
    
    const (
    	licUpdateCycle = 24 * time.Hour * 30
    	licRenewPath   = "/api/cluster/renew-license"
    )
    
    // initlicenseUpdateJob start the periodic license update job in the background.
    func initLicenseUpdateJob(ctx context.Context, objAPI ObjectLayer) {
    	go func() {
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. cmd/server-main.go

    		bootstrapTrace("newBatchJobPool", func() {
    			globalBatchJobPool = newBatchJobPool(GlobalContext, newObject, 100)
    		})
    
    		// Initialize the license update job
    		bootstrapTrace("initLicenseUpdateJob", func() {
    			initLicenseUpdateJob(GlobalContext, newObject)
    		})
    
    		go func() {
    			// Initialize transition tier configuration manager
    			bootstrapTrace("globalTierConfigMgr.Init", func() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32.7K bytes
    - Viewed (1)
Back to top