Skip to content

Commit

Permalink
[Updater] Make CHUNK_SIZE configurable via environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
valtterikantanen committed Feb 26, 2025
1 parent 863cb9d commit a549ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updater/sis-updater-scheduler/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports.NATS_GROUP = 'sis-updater-nats.scheduler'
module.exports.SIS_UPDATER_SCHEDULE_CHANNEL = 'SIS_UPDATER_SCHEDULE_CHANNEL'
module.exports.SIS_MISC_SCHEDULE_CHANNEL = 'SIS_MISC_SCHEDULE_CHANNEL'
module.exports.SIS_PURGE_CHANNEL = 'SIS_PURGE_CHANNEL'
module.exports.CHUNK_SIZE = 100
module.exports.CHUNK_SIZE = process.env.CHUNK_SIZE || 100
module.exports.isDev = process.env.NODE_ENV === 'development'
module.exports.isStaging = process.env.STAGING || false
module.exports.isProduction = process.env.NODE_ENV === 'production'
Expand Down

0 comments on commit a549ae5

Please sign in to comment.