[IRCServices Coding] Services 5.0 alpha 27 released

Andrew Church achurch at achurch.org
Fri Apr 5 18:37:01 PST 2002


     Services 5.0 alpha 27 is out at the usual place.  The big change, and
the one I'd most appreciate bug reports or other comments about, is the
change to the expiration functionality: expirations are now handled when a
nick/channel/autokill/exception/S-line is looked up, either by name/mask or
via first_xxx()/next_xxx() iteration, rather than by periodically going
through every registered item and checking for expiration.  This has the
advantage that an expired entry is _never_ seen by the code--this includes
both the SxLINE ADD bug mentioned earlier as well as 1-minute autokills
lasting until the next expiration (sometimes 30 minutes later) and similar
situations.  On the other hand, it's theoretically possible for records to
be left in the database forever if they're never touched, taking up extra
space--though this won't happen with the current database format, since it
cycles through all records while writing them to disk.

     Note that I'm aware that the mail-auth and memo expiration isn't
updated to use this system yet, so don't bother telling me about that.(:

Changes in version 5.0 alpha 27
-------------------------------
2002/04/05	Reworked expiration logic to avoid long blocks checking for
		    expired data and missed expirations.
2002/04/05	Fixed improper aborts when reading in corrupted databases.
2002/04/01	Fixed crash when certain commands did not receive enough
		    parameters.  Reported by several people.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/