separating engine contexts #878
Unanswered
HakanKaraoglu
asked this question in
Q&A
Replies: 2 comments 18 replies
-
What version of Jint? |
Beta Was this translation helpful? Give feedback.
17 replies
-
I really appreciate your support. I taking the your time. But, I'm trying to understand. Like you said, I gave up on the includes prototype.
I guess there's nothing else to do, right? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a method like the one below. I'm working in a queuing system and running too many rules instantaneously. I noticed a slowness during the performance. As a solution, I took it into the constructor method so that it does not create the engine every time, but this time I got an error like the following.
Like separating the engine context or is there a different solution? It works very slowly this way, unfortunately.
If I create a new engine within the method rather than within the constructor method, it does not give this error, but since this creates an instance each time, there is slowness.
I get an error like this in the following section
JsValue result = _engine.Execute(ruleExpression).GetCompletionValue();
StackTrace :
Beta Was this translation helpful? Give feedback.
All reactions