Skip to content

Commit

Permalink
Fix: reduce concurrent read & write file size limit (#1227)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm committed Jul 21, 2024
1 parent 9d252bb commit 9e40147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/globals/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ export default class Defaults {

/**
* Default max semaphore filesize of files to read (and checksum) and write (and test) at once.
* This will be the limiting factor for consoles with large ROMs. 4.7GiB DVD+R.
* This will be the limiting factor for consoles with large ROMs. 734MiB CDs.
*/
static readonly MAX_READ_WRITE_CONCURRENT_KILOBYTES = Math.ceil(4_700_372_992 / 1024);
static readonly MAX_READ_WRITE_CONCURRENT_KILOBYTES = Math.ceil(734_003_200 / 1024);

/**
* Default number of DATs to process at once.
Expand Down

0 comments on commit 9e40147

Please sign in to comment.