Skip to content

Commit

Permalink
Merge pull request #515 from metrico/release/3_2_23_beta
Browse files Browse the repository at this point in the history
release 3.2.23 - 2
  • Loading branch information
akvlad authored Jun 13, 2024
2 parents 0a2d6dd + d674a59 commit 17cfcf9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions common.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,7 @@ module.exports.metricType = boolEnv('DISTINGUISH_LOGS_METRICS') ? 2 : 0

module.exports.bothType = 0

module.exports.writerMode = (process.env.MODE === 'writer' || !process.env.MODE) && !boolEnv('READONLY')
module.exports.readerMode = process.env.MODE === 'reader' || boolEnv('READONLY') || !process.env.MODE
module.exports.writerMode = (process.env.MODE === 'writer' || !process.env.MODE || process.env.MODE === 'all') &&
!boolEnv('READONLY')
module.exports.readerMode = process.env.MODE === 'reader' || process.env.MODE === 'all' || boolEnv('READONLY') ||
!process.env.MODE

0 comments on commit 17cfcf9

Please sign in to comment.