def disconnect(self, close_code): if self.outpost: OutpostState.for_channel(self.outpost, self.channel_name).delete() LOGGER.debug( "removed outpost instance from cache", outpost=self.outpost, channel_name=self.channel_name, )
def disconnect(self, close_code): if self.outpost and self.last_uid: OutpostState.for_channel(self.outpost, self.last_uid).delete() LOGGER.debug( "removed outpost instance from cache", outpost=self.outpost, instance_uuid=self.last_uid, )