From 10290da54d04345587f63cb96ad833043e7f7f1c Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Wed, 16 Sep 2020 11:36:39 +0200 Subject: [PATCH] Add a note at the top of the test scheduler --- test/fiber/scheduler.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/fiber/scheduler.rb b/test/fiber/scheduler.rb index 7003d88417..d57e743067 100644 --- a/test/fiber/scheduler.rb +++ b/test/fiber/scheduler.rb @@ -1,5 +1,9 @@ # frozen_string_literal: true +# This is an example and simplified scheduler for test purposes. +# It is not efficient for a large number of file descriptors as it uses IO.select(). +# Production Fiber schedulers should use epoll/kqueue/etc. + require 'fiber' require 'socket'