Am Freitag 07 Mai 2010 21:08:10 schrieb Paul:
> Hi Tommi
> 
> Is there a way to take tntnet down gracefully such that no new
> transactions are permitted and all pending transactions (file uploads
> for example) are completed before unloading? This would be very useful.
> 
> Thank you
> 
> ---------------------------------------------------------------------------
> ---
> 
> _______________________________________________
> Tntnet-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tntnet-general
Hi Paul,

there is a static method tnt::Tntnet::shutdown(), which stops tntnet 
gracefully. It is also called, when a SIGTERM is received. It do not block but 
signals tntnet to stop. Pending transactions are always finished and no new 
connections are accepted.

Tommi

------------------------------------------------------------------------------

_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to