Skip to content
Merged
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
4 changes: 3 additions & 1 deletion agentops/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,9 @@ def _update_session(self) -> None:
"""Update session state on the server"""
if not self.is_running:
return
with self._lock: # TODO: Determine whether we really need to lock here: are incoming calls coming from other threads?

# TODO: Determine whether we really need to lock here: are incoming calls coming from other threads?
with self._lock:
payload = {"session": self.__dict__}

try:
Expand Down
Loading