Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -35,7 +35,7 @@ jobs:
- '3.3'
- '3.4'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
4 changes: 2 additions & 2 deletions spec/shared_examples.rb
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def wait_for(&block)
end

it 'query quickly' do
puts "\n #{format('%.2f', rate)} queries/sec (#{format('%.2f', (1000 / rate))}ms per query)"
puts "\n #{format('%.2f', rate)} queries/sec (#{format('%.2f', 1000 / rate)}ms per query)"
expect(rate).to be > 100
end
end
Expand Down Expand Up @@ -357,7 +357,7 @@ def wait_for(&block)
end

it 'is threadsafe' do
puts "\n #{format('%.2f', rate)} inserts/sec (#{format('%.2f', (1000 / rate))}ms per insert)"
puts "\n #{format('%.2f', rate)} inserts/sec (#{format('%.2f', 1000 / rate)}ms per insert)"
expect(rate).to be > expected_rate
end
end
Expand Down