[DGD]Re: Timeouts (ugh)

Imo Wright and_it_rained at email.com
Wed Jan 17 13:48:52 CET 2001


>Another solution, easier but less precise, is to do it
>in the users daemon. Every couple of minutes, go through
>the list of users and force to quit all users who are
>idle more than X time. The problem is that you wouldn't
>get disconnected after X time of idle, but after X plus
>the time to the next sweep.

I thought about that, but it is imprecise.  It would be easier
to code, though...

>I think most LPMuds use method 1, since they usually
>have heart_beat on anyway, in which case the cost of
>doing this as well isn't high. If you plan to have a
>permanent heart_beat also, that's what I'd recommend.
>Otherwise I'd probably suggest method 3.

A permanent heart_beat?  Didn't think about that...

Thanks for the suggestions,


--

Imogen Wright

and_it_rained at email.com

-------------------------
-----------------------------------------------
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com



List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list