@tiledesk/tiledesk-server 2.4.25 → 2.4.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,33 @@
5
5
  🚀 IN PRODUCTION 🚀
6
6
  (https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
7
7
 
8
+ # 2.4.26
9
+ - filter by priority
10
+ - bugfix intent invalidation by intent id
11
+
12
+ # 2.4.25
13
+ - "@tiledesk/tiledesk-tybot-connector": "^0.1.81"
14
+ - bugfix intent invalidation by intent_display_name
15
+
16
+ # 2.4.24
17
+ - Wildcard invalidate bugfix for intents, subscriptions and triggers
18
+
19
+ # 2.4.23
20
+ - waiting time chance invalidation fix
21
+ - delete redis fix
22
+
23
+ # 2.4.22
24
+ - bugfix changed del method from cachemon to native redis
25
+
26
+ # 2.4.21
27
+ - changed del method from cachemon to native redis
28
+
29
+ # 2.4.20
30
+ - removed unused redis delete with wildcard
31
+
32
+ # 2.4.19
33
+ - Added QUEUE_NAME env parameter
34
+
8
35
  # 2.4.18
9
36
  - logfix
10
37
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-server",
3
3
  "description": "The Tiledesk server module",
4
- "version": "2.4.25",
4
+ "version": "2.4.26",
5
5
  "scripts": {
6
6
  "start": "node ./bin/www",
7
7
  "pretest": "mongodb-runner start",
@@ -844,6 +844,16 @@
844
844
  winston.verbose("Deleted cache for faq",{err:err});
845
845
  });
846
846
 
847
+
848
+
849
+ key = "faqs:botid:"+faq.id_faq_kb+":faq:id:#"+faq.intent_id;
850
+ winston.verbose("Deleting cache for faq with key: " + key);
851
+ // found del
852
+ del(client._cache._engine.client, key, function (err, reply) { //tested
853
+ // client.del(key, function (err, reply) {
854
+ winston.debug("Deleted cache for faq",reply);
855
+ winston.verbose("Deleted cache for faq",{err:err});
856
+ });
847
857
 
848
858
  }
849
859