When querying data via our Flask application, it is important that the queries submitted are not allowed to perform mutations. Ideally this could be configured in Gremlin Server, but if this is not possible then we might also be able to find a solution using Postgres auth.
As a part of these changes it would also be helpful to define a query timeout so that queries submitted via Flask have some limit placed on their evaluation time. One option for doing this is in the gremlin server config file.
When querying data via our Flask application, it is important that the queries submitted are not allowed to perform mutations. Ideally this could be configured in Gremlin Server, but if this is not possible then we might also be able to find a solution using Postgres auth. As a part of these changes it would also be helpful to define a query timeout so that queries submitted via Flask have some limit placed on their evaluation time. One option for doing this is in the gremlin server config file.