Skip to content

Commit

Permalink
update UI and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Dec 13, 2023
1 parent a26e26b commit ff82804
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion flow/connectors/kafka/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ func (c *KafkaConnector) GetLastOffset(jobName string) (*protos.LastSyncState, e
lastMessage, readErr := c.consumer.ReadMessage(60 * time.Second)
if readErr != nil {
if strings.Contains(readErr.Error(), "Timed out") {

return nil, nil
}
return nil, fmt.Errorf("unable to read latest offset: %w", readErr)
Expand Down
2 changes: 2 additions & 0 deletions ui/components/PeerTypeComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export const DBTypeToGoodText = (ptype: DBType) => {
return 'SQL Server';
case DBType.MONGO:
return 'MongoDB';
case DBType.KAFKA:
return 'Kafka';
case DBType.UNRECOGNIZED:
return 'Unrecognised';
}
Expand Down
1 change: 1 addition & 0 deletions ui/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ model peer_slot_size {
confirmed_flush_lsn String?
slot_size BigInt?
updated_at DateTime @default(now()) @db.Timestamp(6)
wal_status String?
@@index([slot_name], map: "index_slot_name")
@@schema("peerdb_stats")
Expand Down

0 comments on commit ff82804

Please sign in to comment.