You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Lyndon Bauto (Jira)" <ji...@apache.org> on 2024/05/29 20:24:00 UTC
[jira] [Updated] (TINKERPOP-3081) When using authentication, evaluationTimeout is ignored
[ https://issues.apache.org/jira/browse/TINKERPOP-3081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lyndon Bauto updated TINKERPOP-3081:
------------------------------------
Description:
Using g.with("evaluationTimeout").<whatever> ignored evaluationTimeout when authentication is enabled.
Relevant discord thread: https://discord.com/channels/838910279550238720/1245462911728615629/1245462911728615629
was:
When i use g.with("evaluationTimeout", X).call(<some call step).next() without authentication it works. When I do it with authentication enabled it does not work. The offending code appears to be this piece of TraversalOpProcessor.java
{{final long seto = args.containsKey(Tokens.ARGS_EVAL_TIMEOUT) ?
((Number) args.get(Tokens.ARGS_EVAL_TIMEOUT)).longValue() : context.getSettings().getEvaluationTimeout();}} Which returns properly without authentication enabled as args contains "evaluationTimeout", but when authentication is enabled, that key does not exist, and instead it is embedded deeper down (see attached pic, it's in configuration of the OptionsStrategy deep down)
!https://media.discordapp.net/attachments/1245462911728615629/1245462912085000325/image.png?ex=6658d739&is=665785b9&hm=42ae08309e9f54cc8c0db61ed131d3b7efb92dfbd0f82fc7c3b2ee20e4cf7be9&=&format=webp&quality=lossless&width=550&height=340!
> When using authentication, evaluationTimeout is ignored
> -------------------------------------------------------
>
> Key: TINKERPOP-3081
> URL: https://issues.apache.org/jira/browse/TINKERPOP-3081
> Project: TinkerPop
> Issue Type: Bug
> Reporter: Lyndon Bauto
> Assignee: Lyndon Bauto
> Priority: Major
>
> Using g.with("evaluationTimeout").<whatever> ignored evaluationTimeout when authentication is enabled.
>
> Relevant discord thread: https://discord.com/channels/838910279550238720/1245462911728615629/1245462911728615629
--
This message was sent by Atlassian Jira
(v8.20.10#820010)