Skip to content

Commit

Permalink
fixed more comments, and nolint
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Dec 6, 2023
1 parent 088ad57 commit 74af1b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flow/connectors/utils/cdc_records/cdc_records_storage.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//nolint:stylecheck
package cdc_records

import (
Expand All @@ -19,7 +20,7 @@ const (
/** begin with in-memory store, and then switch to Pebble DB
when the number of stored records crosses 1M
**/
defaultNumRecordsSwitchThreshold = 0
defaultNumRecordsSwitchThreshold = 1_000_000
)

func encVal(val any) ([]byte, error) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//nolint:stylecheck
package cdc_records

import (
Expand Down
1 change: 1 addition & 0 deletions flow/model/qvalue/qvalue.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"github.com/google/uuid"
)

// if new types are added, register them in gob - cdc_records_storage.go
type QValue struct {
Kind QValueKind
Value interface{}
Expand Down

0 comments on commit 74af1b8

Please sign in to comment.