- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 228 for rslave (0.07 sec)
-
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) -
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) -
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) -
internal/event/target/postgresql.go
if IsConnErr(err) { return false, store.ErrNotConnected } return false, err } return true, nil } // Save - saves the events to the store if questore is configured, which will be replayed when the PostgreSQL connection is active. func (target *PostgreSQLTarget) Save(eventData event.Event) error { if target.store != nil { _, err := target.store.Put(eventData) return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 13.3K bytes - Viewed (0) -
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) -
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) -
cmd/config-current_test.go
if site.Region() != "us-west-1" { t.Errorf("Expecting region `us-west-1` found %s", globalSite.Region()) } if err := saveServerConfig(context.Background(), objLayer, globalServerConfig); err != nil { t.Fatalf("Unable to save updated config file %s", err) } // Initialize server config. if err := loadConfig(objLayer, nil); err != nil { t.Fatalf("Unable to initialize from updated config file %s", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 2K bytes - Viewed (0) -
docs/tuning/tuned.conf
net.ipv4.tcp_sack=1 # Low latency mode for TCP net.ipv4.tcp_low_latency=1 # The following variable is used to tell the kernel how # much of the socket buffer space should be used for TCP # window size, and how much to save for an application buffer. net.ipv4.tcp_adv_win_scale=1 # disable RFC2861 behavior net.ipv4.tcp_slow_start_after_idle = 0 # Fix faulty network setups net.ipv4.tcp_mtu_probing=1 net.ipv4.tcp_base_mss=1280
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 23:31:18 UTC 2024 - 1.9K bytes - Viewed (0) -
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) -
src/cmd/cgo/ast.go
} } } // Save various references we are going to need later. func (f *File) saveExprs(x interface{}, context astContext) { switch x := x.(type) { case *ast.Expr: switch (*x).(type) { case *ast.SelectorExpr: f.saveRef(x, context) } case *ast.CallExpr: f.saveCall(x, context) } } // Save references to C.xxx for later processing.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 14 15:47:06 UTC 2024 - 14.3K bytes - Viewed (0)