mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-10 08:50:49 +08:00
handle db timeouts in the queue creation
This commit is contained in:
@@ -56,7 +56,7 @@ def queuedb_create(path):
|
||||
con = sqlite3.connect( path, isolation_level=None )
|
||||
|
||||
for line in lines:
|
||||
con.execute(line)
|
||||
db_query_execute(con, line, ())
|
||||
|
||||
con.commit()
|
||||
con.row_factory = queuedb_row_factory
|
||||
|
||||
Reference in New Issue
Block a user