Skip to content

Commit d84b9eb

Browse files
committed
FIX: Fix for all system recs logged as heartbeats
1 parent b372473 commit d84b9eb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.52.1 - TBD
4+
5+
#### Bug fixes
6+
- Fixed issue where all `SystemMsg` records were logged as gateway heartbeats
7+
38
## 0.52.0 - 2025-04-15
49

510
#### Enhancements

databento/live/protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def _process_dbn(self, data: bytes) -> None:
374374
)
375375
self._error_msgs.append(record.err)
376376
elif isinstance(record, databento_dbn.SystemMsg):
377-
if record.is_heartbeat:
377+
if record.is_heartbeat():
378378
logger.debug("gateway heartbeat")
379379
else:
380380
logger.info(

0 commit comments

Comments
 (0)