hunk.code_window: import { ApiException } from '../../exceptions/api.exception';
   const LOG_CONTEXT = 'DistributedLock';
   const getRedisUrl = () => {
     if (!process.env.REDIS_HOST || !process.env.REDIS_PORT) {
  
hunk.labels: keep keep add keep keep keep keep
hunk.after_edit: const shouldLog = process.env.FF_IS_DISTRIBUTED_LOCK_LOGGING_ENABLED === 'true';
  
hunk.file_path: apps/api/src/app/shared/services/distributed-lock/distributed-lock.service.ts
hunk.type: add
file: version = 1
  
  test_patterns = [
    "apps/api/src/**/**/*.spec.ts",
    "apps/api/e2e/**/*.e2e.ts",
    "apps/api/src/**/*.e2e.ts",
    "apps/web/cypress/**/*.spec.ts",
    "apps/widget/cypress/**/*.spec.ts"
  ]
  
  [[analyzers]]
  name = "shell"
  enabled = true
  
  [[analyzers]]
  name = "javascript"
  enabled = true
  
    [analyzers.meta]
    plugins = ["react"]
  
  [[transformers]]
  name = "prettier"
  enabled = true
  