Open dacopan opened 5 years ago
Also in each call inside engine, https://github.com/qlik-bots/QlikBotNode/blob/7cb41147f0133bf90ce0fd47ab89ffc1fde13631/app/server/models/utilities/Enigma.js#L58
the connect
method is invoked, so new session
and global
are created
https://github.com/qlik-bots/QlikBotNode/blob/7cb41147f0133bf90ce0fd47ab89ffc1fde13631/app/server/routes/api/sense-bot/telegram.js#L123
En each call of the API, new Engine Object is created.
thi is necesary? or is possible implement a cache logic to reuse Engine object by user/ session