From c356cc06d8b5f69d17745f75e9d2835e2780bf33 Mon Sep 17 00:00:00 2001 From: Matthew Fenelon Date: Wed, 18 Sep 2024 12:00:56 +0100 Subject: [PATCH] Optimise stat keys to symbols --- lib/graphiti/scope.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/graphiti/scope.rb b/lib/graphiti/scope.rb index 8e335bcd..195ddf45 100644 --- a/lib/graphiti/scope.rb +++ b/lib/graphiti/scope.rb @@ -3,7 +3,7 @@ class Scope attr_accessor :object, :unpaginated_object attr_reader :pagination - GLOBAL_THREAD_POOL_EXECUTOR_BROADCAST_STATS = %w[ + GLOBAL_THREAD_POOL_EXECUTOR_BROADCAST_STATS = %i[ length max_length queue_length max_queue completed_task_count largest_length scheduled_task_count synchronous ] GLOBAL_THREAD_POOL_EXECUTOR = Concurrent::Promises.delay do