
from acoustid.script import run_script
from acoustid.data.submission import import_queued_submissions


def main(script, opts, args):
    conn = script.engine.connect()
    with conn.begin():
        import_queued_submissions(conn)

run_script(main)



from acoustid.script import run_script
from acoustid.data.submission import import_queued_submissions


def main(script, opts, args):
    conn = script.engine.connect()
    with conn.begin():
        import_queued_submissions(conn, limit=100)

run_script(main)


Raise the import batch size to 100
Raise the import batch size to 100

  
  from acoustid.script import run_script
  from acoustid.data.submission import import_queued_submissions
  
  
  def main(script, opts, args):
      conn = script.engine.connect()
      with conn.begin():
-         import_queued_submissions(conn)
+         import_queued_submissions(conn, limit=100)
  
  run_script(main)
  
  
Raise the import batch size to 100
## Code Before:

from acoustid.script import run_script
from acoustid.data.submission import import_queued_submissions


def main(script, opts, args):
    conn = script.engine.connect()
    with conn.begin():
        import_queued_submissions(conn)

run_script(main)


## Instruction:
Raise the import batch size to 100
## Code After:

from acoustid.script import run_script
from acoustid.data.submission import import_queued_submissions


def main(script, opts, args):
    conn = script.engine.connect()
    with conn.begin():
        import_queued_submissions(conn, limit=100)

run_script(main)

