typedb / typedb-studio

TypeDB Studio (IDE)
https://typedb.com
Mozilla Public License 2.0
191 stars 44 forks source link

Configure transaction timeout #642

Closed suciokhan closed 1 year ago

suciokhan commented 2 years ago

Problem to Solve

Transactions timeout before query can complete in TypeDB Studio, and there is no way for a user to modify the timeout limit.

Current Workaround

Execute query using Python Client and custom transaction timeout, and then transform data into node and edge tables for visualization in a separate system (Cytoscape, Gephi, etc.). This is slow and cumbersome, in part due to the complexity of parsing results from the Python Client (a separate issue).

Proposed Solution

Add-in a menu option for the user to modify the transaction timeout for queries in the GUI. In my organization, I want people with no programming experience to be able to query my database. If the queries timeout, they are unable to use it, which significantly reduces the usability of TypeDB in my organization (if only the data scientists can use it, it's of no use to the analysts, who stand to benefit the most from the database I built).

Additional Information

NA

alexjpwalker commented 2 years ago

Thanks for the report! Yeah, the transaction timeout being fixed to 5 minutes is a problem.

jamesreprise commented 2 years ago

From a small investigation this should be very easy to include, so I've added it to the current milestone.