(directoryPath)
| 8096 | const newConcurrentRenders = parseInt(document.getElementById('concurrent-renders').value); |
| 8097 | const newMaxFileSize = parseMaxFileSizeMBInput(document.getElementById('max-file-size').value); |
| 8098 | const newThumbnailBatchSize = parseInt(document.getElementById('thumbnail-batch-size').value); |
| 8099 | const newRenderDelay = parseInt(document.getElementById('render-delay').value); |
| 8100 | |
| 8101 | // Validate inputs |
| 8102 | if (isNaN(newBatchSize) || newBatchSize < 1 || newBatchSize > 100) { |
| 8103 | throw new Error('Invalid batch size. Must be between 1 and 100.'); |
| 8104 | } |
| 8105 | if (isNaN(newConcurrentRenders) || newConcurrentRenders < 1 || newConcurrentRenders > 10) { |
| 8106 | throw new Error('Invalid concurrent renders. Must be between 1 and 10.'); |
| 8107 | } |
| 8108 | if (newMaxFileSize == null) { |
nothing calls this directly
no test coverage detected