Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for reload (0.23 sec)

  1. cmd/service.go

    type serviceSignal int
    
    const (
    	serviceRestart       serviceSignal = iota // Restarts the server.
    	serviceStop                               // Stops the server.
    	serviceReloadDynamic                      // Reload dynamic config values.
    	serviceFreeze                             // Freeze all S3 API calls.
    	serviceUnFreeze                           // Un-Freeze previously frozen S3 API calls.
    	// Add new service requests here.
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. internal/kms/kes.go

    			for i, b := range certificate.Certificate {
    				if !sameCert {
    					break
    				}
    				sameCert = sameCert && bytes.Equal(b, prevCertificate.Certificate[i])
    			}
    			// Do not reload if its the same cert as before.
    			if !sameCert {
    				client := kes.NewClientWithConfig("", &tls.Config{
    					MinVersion:         tls.VersionTLS12,
    					Certificates:       []tls.Certificate{certificate},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. tests/update_test.go

    	result.Friends = user2.Friends
    
    	DB.Select("Name", "Account", "Toys", "Manager", "ManagerID", "Languages").Save(&result)
    
    	var result2 User
    	DB.Preload("Account").Preload("Pets").Preload("Toys").Preload("Company").Preload("Manager").Preload("Team").Preload("Languages").Preload("Friends").First(&result2, user.ID)
    
    	result.Languages = append(user.Languages, result.Languages...)
    	result.Toys = append(user.Toys, result.Toys...)
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  4. cmd/peer-rest-client.go

    	}))
    	return err
    }
    
    // LoadPolicy - reload a specific canned policy.
    func (client *peerRESTClient) LoadPolicy(policyName string) (err error) {
    	_, err = loadPolicyRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTPolicy: policyName,
    	}))
    	return err
    }
    
    // LoadPolicyMapping - reload a specific policy mapping
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  5. cmd/tier.go

    	}
    
    	return pReader, opts, nil
    }
    
    // Reload updates config by reloading remote tier config from config store.
    func (config *TierConfigMgr) Reload(ctx context.Context, objAPI ObjectLayer) error {
    	newConfig, err := loadTierConfig(ctx, objAPI)
    
    	config.Lock()
    	defer config.Unlock()
    
    	switch err {
    	case nil:
    		break
    	case errConfigNotFound: // nothing to reload
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. cmd/tier-handlers.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errTierReservedName), r.URL)
    		return
    	}
    
    	// Refresh from the disk in case we had missed notifications about edits from peers.
    	if err := globalTierConfigMgr.Reload(ctx, objAPI); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	err = globalTierConfigMgr.Add(ctx, cfg, ignoreInUse)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 15 19:52:44 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. cmd/notification.go

    	}
    
    	if pools, ok := objAPI.(*erasureServerPools); ok {
    		pools.StopRebalance()
    	}
    }
    
    // LoadRebalanceMeta notifies all peers to load rebalance.bin from object layer.
    // Note: Only peers participating in rebalance operation, namely the first node
    // in each pool will load rebalance.bin.
    func (sys *NotificationSys) LoadRebalanceMeta(ctx context.Context, startRebalance bool) {
    	ng := WithNPeers(len(sys.peerClients))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  8. callbacks/preload.go

    		identityMap, foreignValues = schema.GetIdentityFieldValuesMap(tx.Statement.Context, reflectValue, foreignFields)
    		if len(foreignValues) == 0 {
    			return nil
    		}
    	}
    
    	// nested preload
    	for p, pvs := range preloads {
    		tx = tx.Preload(p, pvs...)
    	}
    
    	reflectResults := rel.FieldSchema.MakeSlice().Elem()
    	column, values := schema.ToQueryValues(clause.CurrentTable, relForeignKeys, foreignValues)
    
    	if len(values) != 0 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. cmd/iam-etcd-store.go

    	r, err := ies.client.Get(cctx, iamConfigGroupsPrefix, etcd.WithPrefix(), etcd.WithKeysOnly())
    	if err != nil {
    		return err
    	}
    
    	groups := etcdKvsToSet(iamConfigGroupsPrefix, r.Kvs)
    
    	// Reload config for all groups.
    	for _, group := range groups.ToSlice() {
    		if err = ies.loadGroup(ctx, group, m); err != nil && err != errNoSuchGroup {
    			return err
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. tests/preload_test.go

    	)
    
    	DB.Migrator().DropTable(&Preload{}, &Join{}, &Nested{}, &Value{})
    	DB.Migrator().AutoMigrate(&Preload{}, &Join{}, &Nested{}, &Value{})
    
    	value1 := Value{
    		Name: "value",
    		Nested: Nested{
    			Preloads: []*Preload{
    				{Value: "p1"}, {Value: "p2"},
    			},
    			Join: Join{Value: "j1"},
    		},
    	}
    	value2 := Value{
    		Name: "value2",
    		Nested: Nested{
    			Preloads: []*Preload{
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top