From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 04E6C1FEB3; Mon, 9 Jan 2017 19:43:37 +0000 (UTC) Date: Mon, 9 Jan 2017 19:43:37 +0000 From: Eric Wong To: alex0375@gmail.com Cc: rainbows-public@bogomips.org Subject: Re: Waiting for deferred actions to finish Message-ID: <20170109194337.GA16111@starla> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: List-Id: alex0375@gmail.com wrote: > Am I missing something? Can this be a part of Rainbows? Nope, you're not missing anything :) Rainbows! was missing an EM feature introduced in 2012 :x I'll make a 5.1.0 release with following patches (coming in-reply-to this email) soon. There's also rack 2.x compatibility sitting in rainbows.git. https://bogomips.org/rainbows-public/20161117033531.GA4454@dcvr/T/ The following changes since commit bd7596e50bd094edf5e5842afb8239c158fe2491: Revert "t/t0044-autopush.sh: remove test" (2016-12-24 21:42:06 +0000) are available in the git repository at: git://bogomips.org/rainbows em-deferred for you to fetch changes up to f385ed423e11ad40822f688bc592eaa78efa5b34: eventmachine: wait for deferred actions to finish (2017-01-09 18:59:00 +0000) ---------------------------------------------------------------- Eric Wong (2): tests: re-enable EventMachine tests, again eventmachine: wait for deferred actions to finish SIGNALS | 6 +++--- lib/rainbows/event_machine.rb | 10 +++++++++- t/GNUmakefile | 2 +- t/app_deferred.ru | 8 +++++++- t/t0700-app-deferred.sh | 18 +++++++++++++++--- 5 files changed, 35 insertions(+), 9 deletions(-)