Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 203 for savyje (0.05 sec)

  1. cmd/batch-expire.go

    						stopFn(toDelCopy[i], nil)
    						if oi, ok := oiCache.Get(toDelCopy[i]); ok {
    							ri.trackCurrentBucketObject(r.Bucket, *oi, true, attempts)
    						}
    					}
    				}
    
    				globalBatchJobsMetrics.save(ri.JobID, ri)
    
    				if failed == 0 {
    					break
    				}
    
    				// Add a delay between retry attempts
    				if attempts < retryAttempts {
    					time.Sleep(delay)
    				}
    			}
    		}(toExpire)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-decom.go

    		}
    		p.Pools[idx].LastUpdate = now
    		if err := p.save(ctx, pools); err != nil {
    			return false, err
    		}
    		return true, nil
    	}
    	return false, nil
    }
    
    func (p poolMeta) save(ctx context.Context, pools []*erasureSets) error {
    	if p.dontSave {
    		return nil
    	}
    	data := make([]byte, 4, p.Msgsize()+4)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  3. tests/postgres_test.go

    	}
    
    	if err := DB.Where("id = $1", yasuo.ID).First(&Yasuo{}).Error; err != nil || yasuo.Name != "jinzhu" {
    		t.Errorf("No error should happen, but got %v", err)
    	}
    
    	yasuo.Name = "jinzhu1"
    	if err := DB.Save(&yasuo).Error; err != nil {
    		t.Errorf("Failed to update date, got error %v", err)
    	}
    
    	if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu1" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableCollection.java

    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A GWT-only class only used by GWT emulations. It is used to consolidate the definitions of method
     * delegation to save code size.
     *
     * @author Hayward Chan
     */
    // TODO: Make this class GWT serializable.
    @ElementTypesAreNonnullByDefault
    class ForwardingImmutableCollection<E> extends ImmutableCollection<E> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. tests/soft_delete_test.go

    	"errors"
    	"regexp"
    	"testing"
    
    	"github.com/jinzhu/now"
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestSoftDelete(t *testing.T) {
    	user := *GetUser("SoftDelete", Config{})
    	DB.Save(&user)
    
    	var count int64
    	var age uint
    
    	if DB.Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 1 {
    		t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. internal/config/compress/legacy.go

    )
    
    // SetCompressionConfig - One time migration code needed, for migrating from older config to new for Compression.
    func SetCompressionConfig(s config.Config, cfg Config) {
    	if !cfg.Enabled {
    		// No need to save disabled settings in new config.
    		return
    	}
    	s[config.CompressionSubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   Extensions,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  7. cmd/bucket-metadata.go

    		b.BucketTargetsConfigUpdatedAt = b.Created
    	}
    
    	if b.BucketTargetsConfigMetaUpdatedAt.IsZero() {
    		b.BucketTargetsConfigMetaUpdatedAt = b.Created
    	}
    }
    
    // Save config to supplied ObjectLayer api.
    func (b *BucketMetadata) Save(ctx context.Context, api ObjectLayer) error {
    	if err := b.parseAllConfigs(ctx, api); err != nil {
    		return err
    	}
    
    	data := make([]byte, 4, b.Msgsize()+4)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. internal/event/target/nsq.go

    		if xnet.IsConnRefusedErr(err) {
    			return false, store.ErrNotConnected
    		}
    		return false, err
    	}
    	return true, nil
    }
    
    // Save - saves the events to the store which will be replayed when the nsq connection is active.
    func (target *NSQTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		_, err := target.store.Put(eventData)
    		return err
    	}
    
    	if err := target.init(); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. interfaces.go

    	QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
    	QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row
    }
    
    // SavePointerDialectorInterface save pointer interface
    type SavePointerDialectorInterface interface {
    	SavePoint(tx *DB, name string) error
    	RollbackTo(tx *DB, name string) error
    }
    
    // TxBeginner tx beginner
    type TxBeginner interface {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Aug 19 13:33:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. tests/test_union_inherited_body.py

                                        }
                                    }
                                },
                            },
                        },
                        "summary": "Save Union Different Body",
                        "operationId": "save_union_different_body_items__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top