Skip to content

Conversation

@ryanfowler
Copy link
Owner

No description provided.

@ryanfowler ryanfowler requested a review from Copilot January 23, 2026 16:51
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modifies the image processing concurrency behavior to respect the VIPS_CONCURRENCY environment variable when set, while maintaining the default concurrency of 1 when the variable is not provided.

Changes:

  • Modified sharp concurrency configuration to be conditional based on VIPS_CONCURRENCY environment variable
  • Relocated and expanded Performance section in README with additional environment variable documentation
  • Added documentation for libvips-specific environment variables

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
lib/image.ts Added conditional check to only set sharp concurrency to 1 when VIPS_CONCURRENCY is not defined
README.md Moved Performance section to end of document and added documentation for VIPS_CONCURRENCY and other environment variables

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ryanfowler ryanfowler merged commit b188f43 into main Jan 23, 2026
3 checks passed
@ryanfowler ryanfowler deleted the vips-concurrency branch January 23, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants