Skip to content

Commit

Permalink
[fix] Decrease client resources keep-alive time (#3279)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihran113 authored Jan 20, 2025
1 parent 7a98238 commit eba27a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## Unreleased

### Fixes:
- Decrease client resources keep-alive time (mihran113)

## 3.27.0 Dec 18, 2024

### Enhancements:
Expand Down
2 changes: 1 addition & 1 deletion aim/ext/transport/heartbeat.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def reset_responses():


class HeartbeatWatcher:
CLIENT_KEEP_ALIVE_TIME_DEFAULT = 30 * 60 # 30 minutes
CLIENT_KEEP_ALIVE_TIME_DEFAULT = 5 * 60 # 5 minutes

def __init__(self, heartbeat_pool, keep_alive_time: Union[int, float] = CLIENT_KEEP_ALIVE_TIME_DEFAULT):
self._heartbeat_pool = heartbeat_pool
Expand Down

0 comments on commit eba27a9

Please sign in to comment.