Esempio n. 1
0
def master():
    log.info('Scannertools: starting master...')
    scannerpy.start_master(port='8080',
                           block=True,
                           watchdog=False,
                           no_workers_timeout=int(
                               os.environ['NO_WORKERS_TIMEOUT']))
Esempio n. 2
0
import scannerpy
import os

scannerpy.start_master(
    port='8080',
    block=True,
    watchdog=False,
    prefetch_table_metadata=True,
    no_workers_timeout=180)
Esempio n. 3
0
import scannerpy
import os

if __name__ == "__main__":
    scannerpy.start_master(port='8080',
                           block=True,
                           watchdog=False,
                           no_workers_timeout=180)
Esempio n. 4
0
from scannerpy import start_master
import os

# TODO(wcrichto): don't hardcode 8080
start_master(port='8080', block=True, watchdog=False)