Skip to content

Commit

Permalink
Lower to 1 thread pool
Browse files Browse the repository at this point in the history
Reduces how many threads are trying to talk to us.
  • Loading branch information
jnunemaker committed Feb 4, 2025
1 parent 0a0c824 commit 0dc4071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flipper/cloud/telemetry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def start

@metric_storage = MetricStorage.new

@pool = Concurrent::FixedThreadPool.new(2, {
@pool = Concurrent::FixedThreadPool.new(1, {
max_queue: 20, # ~ 20 minutes of data at 1 minute intervals
fallback_policy: :discard,
name: "flipper-telemetry-post-to-cloud-pool".freeze,
Expand Down

0 comments on commit 0dc4071

Please sign in to comment.