Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/datastore/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ func newPostgresDatastore(

datastore.SetOptimizedRevisionFunc(datastore.optimizedRevisionFunc)

// Start a goroutine for garbage collection.
// Start a goroutine for garbage collection and the revision heartbeat.
if isPrimary {
datastore.workerGroup, datastore.workerCtx = errgroup.WithContext(datastore.workerCtx)
if config.revisionHeartbeatEnabled {
Expand Down
2 changes: 2 additions & 0 deletions internal/datastore/postgres/postgres_shared_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,7 @@ func QuantizedRevisionTest(t *testing.T, b testdatastore.RunningEngineForTest) {
GCWindow(24*time.Hour),
WatchBufferLength(1),
FollowerReadDelay(tc.followerReadDelay),
WithRevisionHeartbeat(false),
)
require.NoError(err)

Expand Down Expand Up @@ -973,6 +974,7 @@ func OverlappingRevisionTest(t *testing.T, b testdatastore.RunningEngineForTest)
GCWindow(24*time.Hour),
WatchBufferLength(1),
FollowerReadDelay(tc.followerReadDelay),
WithRevisionHeartbeat(false),
)
require.NoError(err)

Expand Down
Loading