This would be super useful- speaking from experience, it'd also be great to 
include `Parallel` gem/direct fork usage.

On Tuesday, November 3, 2020 at 7:08:57 AM UTC-8 Jeremy Evans wrote:

> On Mon, Nov 2, 2020 at 11:46 PM Janko Marohnić <[email protected]> 
> wrote:
>
>> Hi Jeremy,
>>
>> I would like to contribute to Sequel documentation by writing a "Fork 
>> Safety" guide, which would list various libraries that fork (Puma, Unicorn, 
>> Passenger, Spring), and show where to put the Database#disconnect call to 
>> make it fork-safe. I would move the last section of the "Code Order" guide 
>> into the new "Fork Safety" guide as an intro.
>>
>> I believe the existence of such a guide would increase awareness that 
>> this needs to be handled with Sequel, as it's likely to catch the eye of a 
>> person browsing the Sequel guides. And it's convenient to have code for 
>> specific libraries ready to copy-paste (similar to how the testing guide 
>> shows various testing frameworks).
>>
>> Would you be open to such a pull request?
>>
>
> I agree, this would be a good guide to have, and I would be open to such a 
> pull request.
>
> Thanks,
> Jeremy 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/0b7c7468-15b5-4103-8f4a-00cd0a246b9dn%40googlegroups.com.

Reply via email to