Ticket #388 (closed Bug report: fixed)

Opened 13 years ago

Last modified 11 years ago

Patch to make garbage collector set timestamp_out

Reported by: leandro@… Owned by:
Priority: normal Milestone: Not yet assigned to a Milestone
Component: Auth server, Authentication, permissions and access control Version:
Keywords: Cc:


When a node crash or it is powered off the "INUSE" connection is fixed after 10 minutes by the garbage collector. It will be nice if the garbage collector set the timestamp_out equal to the last_updated field to make consistent usage logging.

Patch attached

Thank you



include_common.php.diff Download (0.7 KB) - added by leandro@… 13 years ago.

Change History

Changed 13 years ago by leandro@…


Changed 13 years ago by benoitg

The patch is technically correct, but I don't want to apply it as it is. Doing so would make it impossible to see symptoms of a crashed gateway. The proper solution would be to apply this patch, create a field "logout_reason", and set the logout reason to AUTH_SERVER_GARBAGE_COLLECT or some such in a schema update. Fixing that should happen as part of implementing the token architecture.

Changed 11 years ago by gbastien

  • status changed from new to closed
  • resolution set to fixed

This has been fixed since [1413]

Note: See TracTickets for help on using tickets.