Skip to content

Commit

Permalink
[TECH] Limite la taille mémoire utilisée par node lors du seed de la …
Browse files Browse the repository at this point in the history
…base de données.

 #10492
  • Loading branch information
pix-service-auto-merge authored Nov 5, 2024
2 parents 673b09d + ab2b8aa commit 9da072f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"db:migrate": "knex --knexfile db/knexfile.js migrate:latest && node scripts/database/pg-boss-migration.js",
"db:rollback:latest": "knex --knexfile db/knexfile.js migrate:down",
"db:prepare": "npm run db:delete && npm run db:create && npm run db:migrate",
"db:seed": "knex --knexfile db/knexfile.js seed:run",
"db:seed": "NODE_OPTIONS=\"--max-old-space-size=380\" knex --knexfile db/knexfile.js seed:run",
"db:reload": "npm run db:empty && npm run db:seed",
"db:reset": "npm run db:prepare && npm run db:seed",
"doc:api:prescription": "node scripts/generate-api-documentation.js src/prescription > src/prescription/API.md",
Expand Down

0 comments on commit 9da072f

Please sign in to comment.