mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 13:03:01 +00:00
Merge pull request #226 from minrk/last-activity-stop
don't update last_activity on shutdown
This commit is contained in:
@@ -429,7 +429,6 @@ class User(Base):
|
||||
yield self.spawner.stop()
|
||||
self.spawner.clear_state()
|
||||
self.state = self.spawner.get_state()
|
||||
self.last_activity = datetime.utcnow()
|
||||
self.server = None
|
||||
inspect(self).session.commit()
|
||||
finally:
|
||||
|
Reference in New Issue
Block a user