Skip to content

Commit

Permalink
2.0.4 : Allows more than 100 measure models (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aschen committed Jan 20, 2023
1 parent 34468b8 commit ae10884
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lib/core/DeviceManagerEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class DeviceManagerEngine extends AbstractEngine<DeviceManagerPlugin> {
equals: { type: "engine-device-manager" },
},
},
{ lang: "koncorde", size: 1000 }
{ lang: "koncorde", size: 5000 }
);

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

return result.hits;
Expand Down
6 changes: 3 additions & 3 deletions lib/modules/model/ModelService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export class ModelService {
this.config.adminIndex,
InternalCollection.MODELS,
{ query, sort },
{ lang: "koncorde", size: 100 }
{ lang: "koncorde", size: 5000 }
);

return result.hits;
Expand All @@ -215,7 +215,7 @@ export class ModelService {
this.config.adminIndex,
InternalCollection.MODELS,
{ query, sort },
{ lang: "koncorde", size: 100 }
{ lang: "koncorde", size: 5000 }
);

return result.hits;
Expand All @@ -231,7 +231,7 @@ export class ModelService {
this.config.adminIndex,
InternalCollection.MODELS,
{ query, sort },
{ lang: "koncorde", size: 100 }
{ lang: "koncorde", size: 5000 }
);

return result.hits;
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kuzzle-device-manager",
"version": "2.0.3",
"version": "2.0.4",
"description": "Manage your IoT devices and assets. Choose a provisioning strategy, receive and decode payload, handle your IoT business logic.",
"author": "The Kuzzle Team (support@kuzzle.io)",
"repository": {
Expand Down

0 comments on commit ae10884

Please sign in to comment.