Skip to content

Commit ae10884

Browse files
authored
2.0.4 : Allows more than 100 measure models (#256)
1 parent 34468b8 commit ae10884

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

lib/core/DeviceManagerEngine.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class DeviceManagerEngine extends AbstractEngine<DeviceManagerPlugin> {
7070
equals: { type: "engine-device-manager" },
7171
},
7272
},
73-
{ lang: "koncorde", size: 1000 }
73+
{ lang: "koncorde", size: 5000 }
7474
);
7575

7676
this.context.log.info(`Update ${result.fetched} existing engines`);
@@ -314,7 +314,7 @@ export class DeviceManagerEngine extends AbstractEngine<DeviceManagerPlugin> {
314314
engineId,
315315
InternalCollection.MODELS,
316316
{ query },
317-
{ lang: "koncorde", size: 100 }
317+
{ lang: "koncorde", size: 5000 }
318318
);
319319

320320
return result.hits;

lib/modules/model/ModelService.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export class ModelService {
199199
this.config.adminIndex,
200200
InternalCollection.MODELS,
201201
{ query, sort },
202-
{ lang: "koncorde", size: 100 }
202+
{ lang: "koncorde", size: 5000 }
203203
);
204204

205205
return result.hits;
@@ -215,7 +215,7 @@ export class ModelService {
215215
this.config.adminIndex,
216216
InternalCollection.MODELS,
217217
{ query, sort },
218-
{ lang: "koncorde", size: 100 }
218+
{ lang: "koncorde", size: 5000 }
219219
);
220220

221221
return result.hits;
@@ -231,7 +231,7 @@ export class ModelService {
231231
this.config.adminIndex,
232232
InternalCollection.MODELS,
233233
{ query, sort },
234-
{ lang: "koncorde", size: 100 }
234+
{ lang: "koncorde", size: 5000 }
235235
);
236236

237237
return result.hits;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kuzzle-device-manager",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "Manage your IoT devices and assets. Choose a provisioning strategy, receive and decode payload, handle your IoT business logic.",
55
"author": "The Kuzzle Team (support@kuzzle.io)",
66
"repository": {

0 commit comments

Comments
 (0)