shu/introduce unique key to browser sessions (#4263)

This commit is contained in:
Shuchang Zheng
2025-12-10 14:14:41 -08:00
committed by GitHub
parent e8251701cd
commit 3e9246cb65
2 changed files with 32 additions and 1 deletions

View File

@@ -822,7 +822,7 @@ class PersistentBrowserSessionModel(Base):
runnable_type = Column(String, nullable=True)
runnable_id = Column(String, nullable=True, index=True)
browser_id = Column(String, nullable=True)
browser_address = Column(String, nullable=True)
browser_address = Column(String, nullable=True, unique=True)
status = Column(String, nullable=True, default="created")
timeout_minutes = Column(Integer, nullable=True)
ip_address = Column(String, nullable=True)