diff options
-rw-r--r-- | app/services/projects/propagate_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/projects/propagate_service.rb b/app/services/projects/propagate_service.rb index 716a6209537..f952b5108bb 100644 --- a/app/services/projects/propagate_service.rb +++ b/app/services/projects/propagate_service.rb @@ -41,7 +41,7 @@ module Projects end def project_ids_batch - Project.connection.execute( + Project.connection.select_values( <<-SQL SELECT id FROM projects @@ -53,7 +53,7 @@ module Projects ) LIMIT #{BATCH_SIZE} SQL - ).to_a.flatten + ) end def service_hash |