MCPcopy Create free account
hub / github.com/Shopify/ghostferry / GetBatchSize

Method GetBatchSize

cursor.go:66–73  ·  view source on GitHub ↗
(schemaName string, tableName string)

Source from the content-addressed store, hash-verified

64}
65
66func (c CursorConfig) GetBatchSize(schemaName string, tableName string) uint64 {
67 if c.BatchSizePerTableOverride != nil {
68 if batchSize, found := c.BatchSizePerTableOverride.TableOverride[schemaName][tableName]; found {
69 return batchSize
70 }
71 }
72 return *c.BatchSize
73}
74
75type Cursor struct {
76 CursorConfig

Calls

no outgoing calls