Skip to content

Added the possiblility to pass ets tweak options#8

Open
mmzeeman wants to merge 1 commit intomasterfrom
add-possibility-to-tweak-ets-settings
Open

Added the possiblility to pass ets tweak options#8
mmzeeman wants to merge 1 commit intomasterfrom
add-possibility-to-tweak-ets-settings

Conversation

@mmzeeman
Copy link
Member

@mmzeeman mmzeeman commented Oct 1, 2025

Added the possiblility to pass ets tweak options
Added {write_concurrency, auto} as default tweak

@mmzeeman mmzeeman requested a review from Copilot October 1, 2025 12:47
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 enhances the router module to accept ETS tweak options for configuring table concurrency settings while updating supported OTP versions in CI configuration.

  • Added a new new/2 function to accept custom ETS tweak options and set default concurrency settings
  • Refactored table creation to use configurable options instead of hardcoded concurrency settings
  • Updated CI configuration to test against newer OTP versions (26, 27, 28) and use actions/checkout@v3

Reviewed Changes

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

File Description
src/router.erl Added ETS tweak options parameter, default concurrency settings, and refactored table creation
.github/workflows/test.yml Updated OTP versions and checkout action version

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@mmzeeman mmzeeman requested a review from mworrell October 1, 2025 12:49
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.

1 participant