def flush_queued(self):
        if len(self.queue) == 0: return

        for name, value in self.queue.items():
            self.set(name, value, commit = False)

        self.commit()
        self.queue.clear()