let dotAnsel = `${process.env.HOME}/.ansel`;

if (process.env.ANSEL_DEV_MODE)
  dotAnsel = `${process.env.INIT_CWD}/dot-ansel`;

export default {
  characters: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZéè',
  acceptedRawFormats: [ 'raf', 'cr2', 'arw', 'dng' ],
  acceptedImgFormats: [ 'png', 'jpg', 'jpeg', 'tif', 'tiff' ],
  watchedFormats: /([\$\#\w\d]+)-([\$\#\w\dèé]+)-(\d+)\.(JPEG|JPG|PNG|PPM)/i,
  dotAnsel,
  dbFile: `${dotAnsel}/db.sqlite3`,
  settings: `${dotAnsel}/settings.json`,
  thumbsPath: `${dotAnsel}/thumbs`,
  thumbs250Path: `${dotAnsel}/thumbs-250`,
  tmp: '/tmp/ansel',
  concurrency: 5
};

let dotAnsel = `${process.env.HOME}/.ansel`;

if (process.env.ANSEL_DEV_MODE)
  dotAnsel = `${process.env.INIT_CWD}/dot-ansel`;

export default {
  characters: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZéè',
  acceptedRawFormats: [ 'raf', 'cr2', 'arw', 'dng' ],
  acceptedImgFormats: [ 'png', 'jpg', 'jpeg', 'tif', 'tiff' ],
  watchedFormats: /([\$\#\w\d]+)-([\$\#\w\dèé]+)-(\d+)\.(JPEG|JPG|PNG|PPM)/i,
  dotAnsel,
  dbFile: `${dotAnsel}/db.sqlite3`,
  settings: `${dotAnsel}/settings.json`,
  thumbsPath: `${dotAnsel}/thumbs`,
  thumbs250Path: `${dotAnsel}/thumbs-250`,
  tmp: '/tmp/ansel',
  concurrency: 3
};

Reduce concurrency level to 3 for accomodating acient thinkpad
Reduce concurrency level to 3 for accomodating acient thinkpad
