Skip to content

Commit

Permalink
log correct batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartondock committed May 9, 2023
1 parent 4ce8350 commit ec2c77b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
## 2.4.16
### Fixed
* Image timeouts issue should be resolved. If it isn't resolved for you try lowering the batch size in settings.
* Duplicates being added when upgrading from 2.4.14 to 2.4.15.
### Added
* Ability to set batch size for image downloads in settings
### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/lang/en-US/langStrings.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"savingCategories": "Saving category information to localconfig.vdf.",
"savingControllers": "Saving controller information.",
"removingFromCategories": "Removing all added category information",
"writingVDF_entries__i": "Writing VDF files and downloading high res images in batches of ${batchSize}.",
"writingVDF_entries__i": "Writing VDF files. Doing artwork in batches of ${batchSize}.",
"updatingKnownSteamDirList": "Updating a list of known Steam directories.",
"retryingDownload__i": "Retrying image download from \"${imageUrl}\" for \"${appTitle}\".",
"disabledConfigurations__i": "${count} user configuration(s) was/were skipped (disabled by user).",
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/services/preview.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export class PreviewService {
if (removeAll) {
this.loggerService.info(this.lang.info.removingVDF_entries)
} else {
this.loggerService.info(this.lang.info.writingVDF_entries__i.interpolate({ batchSize: 500 }), { invokeAlert: true, alertTimeout: 3000 })
this.loggerService.info(this.lang.info.writingVDF_entries__i.interpolate({ batchSize: this.appSettings.bachDownloadSize }), { invokeAlert: true, alertTimeout: 3000 })
}
if (batchWrite) {
vdfManager.getBatchProgress().subscribe(({update, batch}: {update: string, batch: number})=> {
Expand Down

0 comments on commit ec2c77b

Please sign in to comment.