How to use the queuelib.FifoDiskQueue function in queuelib

To help you get started, we’ve selected a few queuelib examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github EUDAT-B2SAFE / B2SAFE-core / cmd / logmanager.py View on Github external
def initializeQueue(self):
        """initialize the queue instance."""

        queuedir = self.log_dir+'/b2safe.queue'
        self.queue = FifoDiskQueue(queuedir)