Commit 42b17793 authored by Yoan VALLET's avatar Yoan VALLET
Browse files

fix: increase nb of data to handle for enedis and grdf

parent e89dc6bb
......@@ -335,7 +335,7 @@ export const migrations: Migration[] = [
queryOptions: {
scope: 'conso',
tag: 'day',
limit: 730,
limit: 1000,
},
run: async (_client: Client, docs: any[]): Promise<DataloadEntity[]> => {
let prevData: DataloadEntity = {
......@@ -373,7 +373,7 @@ export const migrations: Migration[] = [
queryOptions: {
scope: 'conso',
tag: 'day',
limit: 730,
limit: 1000,
},
run: async (_client: Client, docs: any[]): Promise<DataloadEntity[]> => {
let prevData: DataloadEntity = {
......@@ -411,7 +411,7 @@ export const migrations: Migration[] = [
queryOptions: {
scope: 'conso',
tag: 'month',
limit: 5,
limit: 17,
},
run: async (_client: Client, docs: any[]): Promise<DataloadEntity[]> => {
return docs.map(doc => {
......@@ -432,7 +432,7 @@ export const migrations: Migration[] = [
queryOptions: {
scope: 'conso',
tag: 'year',
limit: 1,
limit: 3,
},
run: async (_client: Client, docs: any[]): Promise<DataloadEntity[]> => {
return docs.map(doc => {
......@@ -453,7 +453,7 @@ export const migrations: Migration[] = [
queryOptions: {
scope: 'conso',
tag: 'month',
limit: 5,
limit: 17,
},
run: async (_client: Client, docs: any[]): Promise<DataloadEntity[]> => {
return docs.map(doc => {
......@@ -474,7 +474,7 @@ export const migrations: Migration[] = [
queryOptions: {
scope: 'conso',
tag: 'year',
limit: 1,
limit: 3,
},
run: async (_client: Client, docs: any[]): Promise<DataloadEntity[]> => {
return docs.map(doc => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment